Stories/lists management for removed contact
This commit is contained in:
parent
7340ea64b9
commit
2601197888
3 changed files with 69 additions and 0 deletions
|
@ -965,6 +965,14 @@ export class ConversationModel extends window.Backbone
|
|||
shouldSave: false,
|
||||
});
|
||||
|
||||
window.reduxActions?.stories.removeAllContactStories(this.id);
|
||||
const uuid = this.get('uuid');
|
||||
if (uuid) {
|
||||
window.reduxActions?.storyDistributionLists.removeMemberFromAllDistributionLists(
|
||||
uuid
|
||||
);
|
||||
}
|
||||
|
||||
// Add notification
|
||||
drop(this.queueJob('removeContact', () => this.maybeSetContactRemoved()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue