changeset 24499:4caae7801f4d

Fix the namespace URL we look for on PEP reply stanzas to match the URL we use on the "get" requests. Fixes #7291. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Paul Aurich <paul@darkrain42.org>
date Fri, 28 Nov 2008 01:49:58 +0000
parents 2675fda76ddf
children 7ec139c84d36
files ChangeLog libpurple/protocols/jabber/pep.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Nov 27 20:53:51 2008 +0000
+++ b/ChangeLog	Fri Nov 28 01:49:58 2008 +0000
@@ -15,6 +15,8 @@
 	* 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
--- a/libpurple/protocols/jabber/pep.c	Thu Nov 27 20:53:51 2008 +0000
+++ b/libpurple/protocols/jabber/pep.c	Fri Nov 28 01:49:58 2008 +0000
@@ -54,7 +54,7 @@
 
 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;