mirror of
https://github.com/status-im/status-lib.git
synced 2025-01-11 13:04:26 +00:00
fix(@desktop/chat): system tags updated for add/remove contact (#44)
Fixes: #3579
This commit is contained in:
parent
4c1b47dae1
commit
cdb06facdd
@ -125,6 +125,7 @@ proc addContact*(self: ContactModel, id: string, accountKeyUID: string): string
|
||||
proc removeContact*(self: ContactModel, id: string) =
|
||||
let contact = self.getContactByID(id)
|
||||
contact.systemTags.delete(contact.systemTags.find(contactAdded))
|
||||
contact.systemTags.delete(contact.systemTags.find(contactRequest))
|
||||
|
||||
discard self.saveContact(contact)
|
||||
self.events.emit("contactRemoved", Args())
|
||||
|
Loading…
x
Reference in New Issue
Block a user