comparison libpurple/protocols/jabber/buddy.h @ 25355:ba8f51cb3691

Support XEP-0084 (User Avatar) v1.1 alongside v0.12 Publish avatars to both namespaces and support receiving metadata notifications from either one. The fetching of our own avatars needs to be fixed to fetch the metdata for both namespaces. Closes #7732.
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Jan 2009 03:52:05 +0000
parents 5dd25c58b65e
children 242a8c97270b
comparison
equal deleted inserted replaced
25354:370d8eba2ce0 25355:ba8f51cb3691
33 JABBER_BUDDY_STATE_DND 33 JABBER_BUDDY_STATE_DND
34 } JabberBuddyState; 34 } JabberBuddyState;
35 35
36 #include "jabber.h" 36 #include "jabber.h"
37 #include "caps.h" 37 #include "caps.h"
38
39 #define AVATARNAMESPACEDATA "http://www.xmpp.org/extensions/xep-0084.html#ns-data"
40 #define AVATARNAMESPACEMETA "http://www.xmpp.org/extensions/xep-0084.html#ns-metadata"
41 38
42 typedef struct _JabberBuddy { 39 typedef struct _JabberBuddy {
43 GList *resources; 40 GList *resources;
44 char *error_msg; 41 char *error_msg;
45 enum { 42 enum {