XMPPContactManager: Remove contact from store after broadcasting the selector
This commit is contained in:
parent
c7c58748fd
commit
702a18636d
1 changed files with 1 additions and 1 deletions
|
@ -115,12 +115,12 @@
|
|||
contact = [_contacts objectForKey: bareJID];
|
||||
|
||||
if ([[rosterItem subscription] isEqual: @"remove"]) {
|
||||
[_contacts removeObjectForKey: bareJID];
|
||||
if (contact != nil)
|
||||
[_delegates broadcastSelector: @selector(contactManager:
|
||||
didRemoveContact:)
|
||||
withObject: self
|
||||
withObject: contact];
|
||||
[_contacts removeObjectForKey: bareJID];
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue