Implement automatic sticker saving (#985)

* Implement automatic sticker saving

* Prevent multiple requests for same sticker or print
This commit is contained in:
Nekromateion
2024-11-26 05:36:02 +01:00
committed by GitHub
parent 654872fc30
commit c4a19966a4
7 changed files with 99 additions and 1 deletions

View File

@@ -405,6 +405,13 @@ export default class extends baseClass {
// };
// database.addGamelogEventToDatabase(entry);
break;
case 'sticker-spawn':
if (!$app.saveInstanceStickers) {
break;
}
$app.trySaveStickerToFile(gameLog.displayName, gameLog.fileId);
break;
}
if (entry) {
// add tag colour