A number of performance tweaks
This commit is contained in:
parent
07689379cb
commit
e011589a5e
3 changed files with 29 additions and 28 deletions
|
@ -409,12 +409,14 @@
|
|||
await this.initialPromise;
|
||||
const verified = await this.safeGetVerified();
|
||||
|
||||
this.set({ verified });
|
||||
if (this.get('verified') !== verified) {
|
||||
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, this.attributes, {
|
||||
Conversation: Whisper.Conversation,
|
||||
});
|
||||
// we don't await here because we don't need to wait for this to finish
|
||||
window.Signal.Data.updateConversation(this.id, this.attributes, {
|
||||
Conversation: Whisper.Conversation,
|
||||
});
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue