[Pidgin] #7732: Updated XMPP User Avatar support
Pidgin
trac at pidgin.im
Mon Dec 8 21:38:13 EST 2008
#7732: Updated XMPP User Avatar support
----------------------------------+-----------------------------------------
Reporter: darkrain42 | Owner: deryni
Type: patch | Status: new
Component: XMPP | Version: 2.5.2
Keywords: jabber, xmpp, avatar |
----------------------------------+-----------------------------------------
The current version of [http://xmpp.org/extensions/xep-0084.html XEP-0084]
has two changes from the current implementation of User Avatar support in
libpurple's XMPP prpl.
* Namespaces changed (ugh...)
* Changed semantic for specifying no icon
I'm attaching two patches. The first patch lets libpurple accept either a
<stop/> element or an empty <metadata/> element indicate that the contact
has no avatar.
The second patch extends libpurple to support the new namespace. I
apologize for the narstiness of the code (it's not that it's bad code, it
just feels unnecessary). libpurple will publish a changed avatar to both
the old- and new-style PEP nodes (for backwards compatibility with the
current generation of clients that don't support the new namespace), will
advertise support for both, and will accept updates from contacts using
either set of namespaces.
--
Ticket URL: <http://developer.pidgin.im/ticket/7732>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list