Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 17616:9686d549f084
Switched buzz namespace and tag name to be libpurple-specific and use a more professionally-sounding name ('attention' instead of 'buzz').
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Tue, 03 Jul 2007 11:04:50 +0000 |
parents | cca457b9158b |
children | 935005186312 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Fri Jun 29 21:44:42 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Jul 03 11:04:50 2007 +0000 @@ -2075,7 +2075,7 @@ return PURPLE_CMD_RET_FAILED; } for(iter = jbr->caps->features; iter; iter = g_list_next(iter)) { - if(!strcmp(iter->data, "http://pidgin.im/xmpp/buzz")) { + if(!strcmp(iter->data, "http://pidgin.im/libpurple/xmpp/attention")) { msg = xmlnode_new("message"); to = g_strdup_printf("%s/%s", args[0], jbr->name); xmlnode_set_attrib(msg,"to",to); @@ -2084,8 +2084,8 @@ /* avoid offline storage */ xmlnode_set_attrib(msg,"type","headline"); - buzz = xmlnode_new_child(msg,"buzz"); - xmlnode_set_namespace(buzz,"http://pidgin.im/xmpp/buzz"); + buzz = xmlnode_new_child(msg,"attention"); + xmlnode_set_namespace(buzz,"http://pidgin.im/libpurple/xmpp/attention"); jabber_send(js,msg); xmlnode_free(msg);