mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Show 'accept invite UI' for re-invite, calm progress spinner
This commit is contained in:
@@ -749,12 +749,16 @@ type WhatIsThis = typeof window.WhatIsThis;
|
||||
conversationRemoved(id);
|
||||
});
|
||||
convoCollection.on('add', conversation => {
|
||||
const { id, cachedProps } = conversation || {};
|
||||
conversationAdded(id, cachedProps);
|
||||
if (!conversation) {
|
||||
return;
|
||||
}
|
||||
conversationAdded(conversation.id, conversation.format());
|
||||
});
|
||||
convoCollection.on('change', conversation => {
|
||||
const { id, cachedProps } = conversation || {};
|
||||
conversationChanged(id, cachedProps);
|
||||
if (!conversation) {
|
||||
return;
|
||||
}
|
||||
conversationChanged(conversation.id, conversation.format());
|
||||
});
|
||||
convoCollection.on('reset', removeAllConversations);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user