Save conversation after all messages are processed

pull/460/head
Beaudan Brown 6 years ago
parent 27976a053c
commit cccf533abc

@ -490,8 +490,8 @@ class LokiPublicChannelAPI {
this.lastGot = !this.lastGot this.lastGot = !this.lastGot
? adnMessage.id ? adnMessage.id
: Math.max(this.lastGot, adnMessage.id); : Math.max(this.lastGot, adnMessage.id);
conversation.setLastRetrievedMessage(this.lastGot);
}); });
conversation.setLastRetrievedMessage(this.lastGot);
} }
setTimeout(() => { setTimeout(() => {

Loading…
Cancel
Save