Re-render left pane and timeline items when group members change

This commit is contained in:
Scott Nonnenberg 2021-03-26 11:03:15 -07:00 committed by GitHub
parent b31a44aa76
commit 7a3130a795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 30 deletions

View file

@ -822,6 +822,9 @@ export class ConversationController {
await Promise.all(
this._conversations.map(async conversation => {
try {
// Hydrate contactCollection, now that initial fetch is complete
conversation.fetchContacts();
const isChanged = await maybeDeriveGroupV2Id(conversation);
if (isChanged) {
updateConversation(conversation.attributes);