I'm trying to set the PHOTO vCard attribute with an URI provided by our backend, according to the xep-0054,
<!-- Photograph property. Value is either a BASE64 encoded
binary value or a URI to the external content. -->
<!ELEMENT PHOTO ((TYPE, BINVAL) | EXTVAL)>
I'm using ejabberdctl
with the mod_admin_extra
extension.
ejabberdctl set_vcard foo chat.myjabber.com PHOTO http://link_to_image.jpg
ejabberdctl set_vcard2 foo chat.myjabber.com PHOTO EXTVAL http://link_to_image.jpg
But doesn't seems to work, I see nothing in pidgin & psy (value is correctly saved in database)
I'm running Archlinux, Pidgin 2.10.6 (libpurple 2.10.6) & ejabberd 2.1.11