comparison 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
comparison
equal deleted inserted replaced
24907:d3f8f474e6b5 25701:a50545e37a7a
729 } else if(!strcmp(child->name, "event") && !strcmp(xmlns,"http://jabber.org/protocol/pubsub#event")) { 729 } else if(!strcmp(child->name, "event") && !strcmp(xmlns,"http://jabber.org/protocol/pubsub#event")) {
730 xmlnode *items; 730 xmlnode *items;
731 jm->type = JABBER_MESSAGE_EVENT; 731 jm->type = JABBER_MESSAGE_EVENT;
732 for(items = xmlnode_get_child(child,"items"); items; items = items->next) 732 for(items = xmlnode_get_child(child,"items"); items; items = items->next)
733 jm->eventitems = g_list_append(jm->eventitems, items); 733 jm->eventitems = g_list_append(jm->eventitems, items);
734 } else if(!strcmp(child->name, "attention") && !strcmp(xmlns,"http://www.xmpp.org/extensions/xep-0224.html#ns")) { 734 } else if(!strcmp(child->name, "attention") && !strcmp(xmlns, XEP_0224_NAMESPACE)) {
735 jm->hasBuzz = TRUE; 735 jm->hasBuzz = TRUE;
736 } else if(!strcmp(child->name, "delay") && !strcmp(xmlns,"urn:xmpp:delay")) { 736 } else if(!strcmp(child->name, "delay") && !strcmp(xmlns,"urn:xmpp:delay")) {
737 const char *timestamp = xmlnode_get_attrib(child, "stamp"); 737 const char *timestamp = xmlnode_get_attrib(child, "stamp");
738 jm->delayed = TRUE; 738 jm->delayed = TRUE;
739 if(timestamp) 739 if(timestamp)