filter out undefined more

This commit is contained in:
MathMan05
2026-06-24 16:26:45 -05:00
parent 99062229f8
commit 49b9ae2527
+1
View File
@@ -383,6 +383,7 @@ export class Favorites {
await this.save(saveImportance.low);
}
async addReactEmoji(nameOrID: string) {
if (nameOrID === "undefined" || nameOrID === undefined) return;
const obj = (this.emojiReactionFrecency[nameOrID] ??= {
totalUses: 0,
recentUses: [],