diff libpurple/protocols/jabber/presence.c @ 25742: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
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Thu Nov 20 23:58:17 2008 +0000
+++ b/libpurple/protocols/jabber/presence.c	Fri Nov 21 00:35:44 2008 +0000
@@ -268,7 +268,7 @@
 	xmlnode_set_namespace(c, "http://jabber.org/protocol/caps");
 	xmlnode_set_attrib(c, "node", CAPS0115_NODE);
 	xmlnode_set_attrib(c, "hash", "sha-1");
-	xmlnode_set_attrib(c, "ver", jabber_caps_get_own_hash());
+	xmlnode_set_attrib(c, "ver", jabber_caps_get_own_hash(js));
 
 #if 0
 	if(js != NULL) {