@@ -160,14 +160,11 @@ [[connection delegate] connection: connection didReceiveRosterItem: rosterItem]; } if (isPush) { - XMPPIQ *response = [XMPPIQ IQWithType: @"result" - ID: [iq ID]]; - [response setTo: [iq from]]; - [connection sendStanza: response]; + [connection sendStanza: [iq resultIQ]]; } else { if ([[connection delegate] respondsToSelector: @selector(connectionDidReceiveRoster:)]) [[connection delegate] connectionDidReceiveRoster: connection];