pidgin: 562440c4: Fix the namespace URL we look for on PEP...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Thu Nov 27 21:50:27 EST 2008


-----------------------------------------------------------------
Revision: 562440c4278856c6e9180b018e1dedae4b7476bc
Ancestor: 46942a88da5d64334f6d6897ced4e6b8fb88fb93
Author: paul at aurich.com
Date: 2008-11-28T01:49:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/562440c4278856c6e9180b018e1dedae4b7476bc

Modified files:
        ChangeLog libpurple/protocols/jabber/pep.c

ChangeLog: 

Fix the namespace URL we look for on PEP reply stanzas to match the URL we
use on the "get" requests.  Fixes #7291.

-------------- next part --------------
============================================================
--- ChangeLog	4bde44c5f25340f617536185a0c72e5097aa4aa7
+++ ChangeLog	a647db6dd3daa238c123d1e0816c78847f1bb64a
@@ -15,6 +15,8 @@ version 2.5.3 (??/??/????):
 	* The Buddy State Notification plugin no longer turns JID's, MSN Passport
 	  ID's, etc. into links (Florian Qu?ze)
 	* Fix a crash in SIMPLE when a malformed message is received.
+	* Fix the namespace URL we look for in PEP reply stanzas to match the URL
+	  used in the 'get' requests (Paul Aurich)
 
 	Pidgin:
 	* On GTK+ 2.14 and higher, we're using the gtk-tooltip-delay setting
============================================================
--- libpurple/protocols/jabber/pep.c	e23f33cb18be2ecd93000dc2c56fc51ec2efbee5
+++ libpurple/protocols/jabber/pep.c	fe5ef0eeab3555850a4d96c307767f2e36c10035
@@ -54,7 +54,7 @@ static void do_pep_iq_request_item_callb
 
 static void do_pep_iq_request_item_callback(JabberStream *js, xmlnode *packet, gpointer data) {
 	const char *from = xmlnode_get_attrib(packet,"from");
-	xmlnode *pubsub = xmlnode_get_child_with_namespace(packet,"pubsub","http://jabber.org/protocol/pubsub#event");
+	xmlnode *pubsub = xmlnode_get_child_with_namespace(packet,"pubsub","http://jabber.org/protocol/pubsub");
 	xmlnode *items = NULL;
 	JabberPEPHandler *cb = data;
 	


More information about the Commits mailing list