Enable click on draft quotes, fetch groups from contact modal

This commit is contained in:
Scott Nonnenberg
2021-05-21 10:27:28 -07:00
committed by GitHub
parent b878cad625
commit f6bc4dfe25
5 changed files with 21 additions and 10 deletions

View File

@@ -156,6 +156,8 @@ export class ConversationModel extends window.Backbone
lastSuccessfulGroupFetch?: number;
throttledUpdateSharedGroups?: () => Promise<void>;
private cachedLatestGroupCallEraId?: string;
private cachedIdenticon?: CachedIdenticon;
@@ -229,6 +231,9 @@ export class ConversationModel extends window.Backbone
this.updateLastMessage.bind(this),
200
);
this.throttledUpdateSharedGroups =
this.throttledUpdateSharedGroups ||
window._.throttle(this.updateSharedGroups.bind(this), FIVE_MINUTES);
this.contactCollection = this.getContactCollection();
this.contactCollection.on(