Mercurial > pidgin
comparison libpurple/protocols/jabber/presence.c @ 25146:4040da08a733
Entity Capabilities must be per-JabberStream
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 21 Nov 2008 00:35:44 +0000 |
parents | ba362a67278c |
children | 6d6e10476c52 |
comparison
equal
deleted
inserted
replaced
25145:1225f3dcf5ab | 25146:4040da08a733 |
---|---|
266 /* create xml */ | 266 /* create xml */ |
267 c = xmlnode_new_child(presence, "c"); | 267 c = xmlnode_new_child(presence, "c"); |
268 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps"); | 268 xmlnode_set_namespace(c, "http://jabber.org/protocol/caps"); |
269 xmlnode_set_attrib(c, "node", CAPS0115_NODE); | 269 xmlnode_set_attrib(c, "node", CAPS0115_NODE); |
270 xmlnode_set_attrib(c, "hash", "sha-1"); | 270 xmlnode_set_attrib(c, "hash", "sha-1"); |
271 xmlnode_set_attrib(c, "ver", jabber_caps_get_own_hash()); | 271 xmlnode_set_attrib(c, "ver", jabber_caps_get_own_hash(js)); |
272 | 272 |
273 #if 0 | 273 #if 0 |
274 if(js != NULL) { | 274 if(js != NULL) { |
275 /* add the extensions */ | 275 /* add the extensions */ |
276 char extlist[1024]; | 276 char extlist[1024]; |