Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/useravatar.h Wed Jan 21 17:56:07 2009 +0000 +++ b/libpurple/protocols/jabber/useravatar.h Wed Jan 21 20:16:22 2009 +0000 @@ -25,10 +25,13 @@ #define _PURPLE_JABBER_USERAVATAR_H_ #include "jabber.h" +#include "imgstore.h" /* Implementation of XEP-0084 */ void jabber_avatar_init(void); void jabber_avatar_set(JabberStream *js, PurpleStoredImage *img); +void jabber_avatar_fetch_mine(JabberStream *js); + #endif /* _PURPLE_JABBER_USERAVATAR_H_ */