libpurple/protocols/jabber/pep.c

branch
soc.2007.xmpp
changeset 17783
2687df1ca202
parent 17782
83af68644d0a
child 17787
439329d20337
--- a/libpurple/protocols/jabber/pep.c	Wed Jun 13 16:03:11 2007 +0000
+++ b/libpurple/protocols/jabber/pep.c	Fri Jun 15 07:13:41 2007 +0000
@@ -41,7 +41,7 @@
 
 void jabber_pep_register_handler(const char *shortname, const char *xmlns, JabberPEPHandler handlerfunc) {
 	gchar *notifyns = g_strdup_printf("%s+notify", xmlns);
-	jabber_add_feature(shortname, notifyns);
+	jabber_add_feature(shortname, notifyns, NULL); /* receiving PEPs is always supported */
 	g_free(notifyns);
 	g_hash_table_replace(pep_handlers, g_strdup(xmlns), handlerfunc);
 }

mercurial