handleDataMessage: Apply out-of-order view sync directly
This commit is contained in:
@@ -2139,7 +2139,7 @@
|
|||||||
if (type === 'incoming' && message.isTapToView()) {
|
if (type === 'incoming' && message.isTapToView()) {
|
||||||
const viewSync = Whisper.ViewSyncs.forMessage(message);
|
const viewSync = Whisper.ViewSyncs.forMessage(message);
|
||||||
if (viewSync) {
|
if (viewSync) {
|
||||||
await Whisper.ViewSyncs.onSync(viewSync);
|
await message.markViewed({ fromSync: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user