Mercurial > pidgin
diff libpurple/protocols/jabber/message.c @ 25701:a50545e37a7a
propagate from branch 'im.pidgin.pidgin' (head 20e1cd58c08fdfc4116101503338fb89269ea0ea)
to branch 'im.pidgin.cpw.malu.xmpp.attention' (head 4b47f78b26d233d1bc0b6933d22b35a2e201e5b4)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 04 Jan 2009 23:49:13 +0000 |
parents | fec1e38cb330 302f13678ea3 |
children | b707ec143eee |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c Sun Jan 04 21:45:30 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Sun Jan 04 23:49:13 2009 +0000 @@ -731,7 +731,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, "delay") && !strcmp(xmlns,"urn:xmpp:delay")) { const char *timestamp = xmlnode_get_attrib(child, "stamp");