comparison libpurple/protocols/jabber/message.c @ 26776:83e6e710cbf3

Add a new signal which is emitted (after the account is connected) if the associated account actions are changed. This is necessary since XMPP's account actions are not known when setting the account to connected. Also added support for push updates as specified in XEP-0050 2.3. Refs #7233.
author Paul Aurich <paul@darkrain42.org>
date Sun, 26 Apr 2009 06:45:55 +0000
parents 0054bf136314
children 3912f55a1633 4548c114e953
comparison
equal deleted inserted replaced
26775:46b1d6eca6ef 26776:83e6e710cbf3
22 22
23 #include "debug.h" 23 #include "debug.h"
24 #include "notify.h" 24 #include "notify.h"
25 #include "server.h" 25 #include "server.h"
26 #include "util.h" 26 #include "util.h"
27 #include "adhoccommands.h"
27 #include "buddy.h" 28 #include "buddy.h"
28 #include "chat.h" 29 #include "chat.h"
29 #include "data.h" 30 #include "data.h"
30 #include "google.h" 31 #include "google.h"
31 #include "message.h" 32 #include "message.h"
778 jm->type = JABBER_MESSAGE_GROUPCHAT_INVITE; 779 jm->type = JABBER_MESSAGE_GROUPCHAT_INVITE;
779 } 780 }
780 } else { 781 } else {
781 jm->etc = g_list_append(jm->etc, child); 782 jm->etc = g_list_append(jm->etc, child);
782 } 783 }
784 } else if (g_str_equal(child->name, "query")) {
785 const char *node = xmlnode_get_attrib(child, "node");
786 if (purple_strequal(xmlns, "http://jabber.org/protocol/disco#items")
787 && purple_strequal(node, "http://jabber.org/protocol/commands")) {
788 jabber_adhoc_got_list(js, jm->from, child);
789 }
783 } 790 }
784 } 791 }
785 792
786 if(jm->hasBuzz) 793 if(jm->hasBuzz)
787 handle_buzz(jm); 794 handle_buzz(jm);