XMPPContactManager: Indentation fixes
This commit is contained in:
parent
b7ef74a103
commit
c7c58748fd
1 changed files with 13 additions and 13 deletions
|
@ -118,9 +118,9 @@
|
||||||
[_contacts removeObjectForKey: bareJID];
|
[_contacts removeObjectForKey: bareJID];
|
||||||
if (contact != nil)
|
if (contact != nil)
|
||||||
[_delegates broadcastSelector: @selector(contactManager:
|
[_delegates broadcastSelector: @selector(contactManager:
|
||||||
didRemoveContact:)
|
didRemoveContact:)
|
||||||
withObject: self
|
withObject: self
|
||||||
withObject: contact];
|
withObject: contact];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,14 +130,14 @@
|
||||||
[_contacts setObject: contact
|
[_contacts setObject: contact
|
||||||
forKey: bareJID];
|
forKey: bareJID];
|
||||||
[_delegates broadcastSelector: @selector(contactManager:
|
[_delegates broadcastSelector: @selector(contactManager:
|
||||||
didAddContact:)
|
didAddContact:)
|
||||||
withObject: self
|
withObject: self
|
||||||
withObject: contact];
|
withObject: contact];
|
||||||
} else {
|
} else {
|
||||||
[_delegates broadcastSelector: @selector(contact:
|
[_delegates broadcastSelector: @selector(contact:
|
||||||
willUpdateWithRosterItem:)
|
willUpdateWithRosterItem:)
|
||||||
withObject: contact
|
withObject: contact
|
||||||
withObject: rosterItem];
|
withObject: rosterItem];
|
||||||
[contact XMPP_setRosterItem: rosterItem];
|
[contact XMPP_setRosterItem: rosterItem];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -156,13 +156,13 @@
|
||||||
[contact XMPP_setPresence: presence
|
[contact XMPP_setPresence: presence
|
||||||
resource: [JID resource]];
|
resource: [JID resource]];
|
||||||
[_delegates broadcastSelector: @selector(contact:
|
[_delegates broadcastSelector: @selector(contact:
|
||||||
didSendPresence:)
|
didSendPresence:)
|
||||||
withObject: contact
|
withObject: contact
|
||||||
withObject: presence];
|
withObject: presence];
|
||||||
} else if ([[presence type] isEqual: @"unavailable"]) {
|
} else if ([[presence type] isEqual: @"unavailable"]) {
|
||||||
[contact XMPP_removePresenceForResource: [JID resource]];
|
[contact XMPP_removePresenceForResource: [JID resource]];
|
||||||
[_delegates broadcastSelector: @selector(contact:
|
[_delegates broadcastSelector: @selector(contact:
|
||||||
didSendPresence:)
|
didSendPresence:)
|
||||||
withObject: contact
|
withObject: contact
|
||||||
withObject: presence];
|
withObject: presence];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue