Mercurial > pidgin
diff libpurple/protocols/jabber/message.c @ 25133:f763be370afb
Updated to new namespace for XEP-0224.
Moved string constants to a #define
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Wed, 01 Oct 2008 22:25:36 +0000 |
parents | 14915e96311e |
children | bdd00a7113d7 249fee48c3ed |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c Thu Sep 25 20:08:53 2008 +0000 +++ b/libpurple/protocols/jabber/message.c Wed Oct 01 22:25:36 2008 +0000 @@ -704,7 +704,7 @@ jm->type = JABBER_MESSAGE_EVENT; for(items = xmlnode_get_child(child,"items"); items; items = items->next) jm->eventitems = g_list_append(jm->eventitems, items); - } else if(!strcmp(child->name, "attention") && !strcmp(xmlns,"http://www.xmpp.org/extensions/xep-0224.html#ns")) { + } else if(!strcmp(child->name, "attention") && !strcmp(xmlns, XEP_0224_NAMESPACE)) { jm->hasBuzz = TRUE; } else if(!strcmp(child->name, "error")) { const char *code = xmlnode_get_attrib(child, "code");