ObjXMPP  Diff

Differences From Artifact [b2456e219f]:

To Artifact [05cdbc9644]:


107
108
109
110
111
112
113







114
115
116

117
118
119
120
121
122
123
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122

123
124
125
126
127
128
129
130







+
+
+
+
+
+
+


-
+







{
	of_log(@"Auth successful");
}

- (void)connection: (XMPPConnection*)conn
     wasBoundToJID: (XMPPJID*)jid
{
	of_log(@"Bound to JID: %@", [jid fullJID]);

	[conn requestRoster];
}

- (void)connectionDidReceiveRoster :(XMPPConnection*)conn
{
	XMPPPresence *pres;

	of_log(@"Bound to JID: %@", [jid fullJID]);
	of_log(@"Got roster");

	pres = [XMPPPresence presence];
	[pres addPriority: 10];
	[pres addStatus: @"ObjXMPP test is working!"];

	[conn sendStanza: pres];
}