diff libpurple/protocols/jabber/jabber.c @ 18922:5d0141588299

Updated attention namespace to adhere to my new XEP-0224: Attention
author Andreas Monitzer <pidgin@monitzer.com>
date Wed, 08 Aug 2007 21:01:42 +0000
parents ba3b22cd280b
children f821d4bffb0a
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Tue Jul 31 15:01:14 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Wed Aug 08 21:01:42 2007 +0000
@@ -2220,7 +2220,7 @@
 		return PURPLE_CMD_RET_FAILED;
 	}
 	for(iter = jbr->caps->features; iter; iter = g_list_next(iter)) {
-		if(!strcmp(iter->data, "http://pidgin.im/libpurple/xmpp/attention")) {
+		if(!strcmp(iter->data, "http://www.xmpp.org/extensions/xep-0224.html#ns")) {
 			msg = xmlnode_new("message");
 			to = g_strdup_printf("%s/%s", args[0], jbr->name);
 			xmlnode_set_attrib(msg,"to",to);
@@ -2230,7 +2230,7 @@
 			xmlnode_set_attrib(msg,"type","headline");
 			
 			buzz = xmlnode_new_child(msg,"attention");
-			xmlnode_set_namespace(buzz,"http://pidgin.im/libpurple/xmpp/attention");
+			xmlnode_set_namespace(buzz,"http://www.xmpp.org/extensions/xep-0224.html#ns");
 			
 			jabber_send(js,msg);
 			xmlnode_free(msg);