XMPPRoster: Notify delegates before updating roster

This commit is contained in:
Florian Zeitz 2012-12-13 20:33:45 +01:00
parent 6331f5695f
commit 89b1f86a4d

View file

@ -125,12 +125,12 @@
if (element != nil) { if (element != nil) {
rosterItem = [self XMPP_rosterItemWithXMLElement: element]; rosterItem = [self XMPP_rosterItemWithXMLElement: element];
[self XMPP_updateRosterItem: rosterItem];
[delegates broadcastSelector: @selector( [delegates broadcastSelector: @selector(
roster:didReceiveRosterItem:) roster:didReceiveRosterItem:)
withObject: self withObject: self
withObject: rosterItem]; withObject: rosterItem];
[self XMPP_updateRosterItem: rosterItem];
} }
if ([connection supportsRosterVersioning]) { if ([connection supportsRosterVersioning]) {