Fix rendering bug with verified state in updateVerified()

This commit is contained in:
Scott Nonnenberg 2019-01-28 14:43:31 -08:00
parent 8a3acc6b7e
commit c936859d09

View file

@ -339,12 +339,12 @@
await this.initialPromise;
const verified = await this.safeGetVerified();
this.set({ verified });
// we don't await here because we don't need to wait for this to finish
window.Signal.Data.updateConversation(
this.id,
{ verified },
{ Conversation: Whisper.Conversation }
);
window.Signal.Data.updateConversation(this.id, this.attributes, {
Conversation: Whisper.Conversation,
});
return;
}