Fix application of incoming view syncs

This commit is contained in:
Ken Powers 2020-04-24 15:32:36 -04:00 committed by Scott Nonnenberg
parent 5cfcedb549
commit 4b685d09b4
2 changed files with 29 additions and 12 deletions

View file

@ -2579,14 +2579,10 @@
const { source, sourceUuid, timestamp } = ev;
window.log.info(`view sync ${source} ${timestamp}`);
const conversationId = ConversationController.getConversationId(
source || sourceUuid
);
const sync = Whisper.ViewSyncs.add({
source,
sourceUuid,
conversationId,
timestamp,
});