Mercurial > pidgin
comparison libpurple/protocols/jabber/useravatar.h @ 25353:9195955395b6
Only (re)publish XMPP avatars at login if the server's avatar differs
As part of this, no longer rely on the vcard for determining a need to
publish the XEP-0084 avatar; explicitly fetch and compare it.
Closes #7734.
References #7732. That patch needs updating to apply on top of this.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 21 Jan 2009 20:16:22 +0000 |
parents | 5dd25c58b65e |
children | ba8f51cb3691 |
comparison
equal
deleted
inserted
replaced
25352:b68ac693ae2d | 25353:9195955395b6 |
---|---|
23 | 23 |
24 #ifndef _PURPLE_JABBER_USERAVATAR_H_ | 24 #ifndef _PURPLE_JABBER_USERAVATAR_H_ |
25 #define _PURPLE_JABBER_USERAVATAR_H_ | 25 #define _PURPLE_JABBER_USERAVATAR_H_ |
26 | 26 |
27 #include "jabber.h" | 27 #include "jabber.h" |
28 #include "imgstore.h" | |
28 | 29 |
29 /* Implementation of XEP-0084 */ | 30 /* Implementation of XEP-0084 */ |
30 | 31 |
31 void jabber_avatar_init(void); | 32 void jabber_avatar_init(void); |
32 void jabber_avatar_set(JabberStream *js, PurpleStoredImage *img); | 33 void jabber_avatar_set(JabberStream *js, PurpleStoredImage *img); |
33 | 34 |
35 void jabber_avatar_fetch_mine(JabberStream *js); | |
36 | |
34 #endif /* _PURPLE_JABBER_USERAVATAR_H_ */ | 37 #endif /* _PURPLE_JABBER_USERAVATAR_H_ */ |