ObjXMPP  Diff

Differences From Artifact [c2659e2d1c]:

To Artifact [9da3261919]:


158
159
160
161
162
163
164
165
166
167
168

169
170
171
172
173
174
175
158
159
160
161
162
163
164




165
166
167
168
169
170
171
172







-
-
-
-
+







		if (isPush && [[connection delegate] respondsToSelector:
		    @selector(connection:didReceiveRosterItem:)])
			[[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];

		[rosterID release];