Add some logging around setting preferred reaction emojis
This commit is contained in:
parent
2136c5311b
commit
978f57f076
1 changed files with 9 additions and 0 deletions
|
@ -887,6 +887,15 @@ export async function mergeAccountRecord(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preferredReactionEmoji.canBeSynced(rawPreferredReactionEmoji)) {
|
if (preferredReactionEmoji.canBeSynced(rawPreferredReactionEmoji)) {
|
||||||
|
const localPreferredReactionEmoji =
|
||||||
|
window.storage.get('preferredReactionEmoji') || [];
|
||||||
|
if (!isEqual(localPreferredReactionEmoji, rawPreferredReactionEmoji)) {
|
||||||
|
log.info(
|
||||||
|
'storageService: remote and local preferredReactionEmoji do not match',
|
||||||
|
localPreferredReactionEmoji.length,
|
||||||
|
rawPreferredReactionEmoji.length
|
||||||
|
);
|
||||||
|
}
|
||||||
window.storage.put('preferredReactionEmoji', rawPreferredReactionEmoji);
|
window.storage.put('preferredReactionEmoji', rawPreferredReactionEmoji);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue