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; await this.initialPromise;
const verified = await this.safeGetVerified(); const verified = await this.safeGetVerified();
this.set({ verified });
// we don't await here because we don't need to wait for this to finish // we don't await here because we don't need to wait for this to finish
window.Signal.Data.updateConversation( window.Signal.Data.updateConversation(this.id, this.attributes, {
this.id, Conversation: Whisper.Conversation,
{ verified }, });
{ Conversation: Whisper.Conversation }
);
return; return;
} }