xep-0054によると、バックエンドから提供されたURIを使用してPHOTOvCard属性を設定しようとしています。
<!-- Photograph property. Value is either a BASE64 encoded
binary value or a URI to the external content. -->
<!ELEMENT PHOTO ((TYPE, BINVAL) | EXTVAL)>
私は拡張機能で使用ejabberdctl
しています。mod_admin_extra
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
しかし、機能していないようです。pidginとpsyには何も表示されません(値はデータベースに正しく保存されています)
Archlinux、Pidgin 2.10.6(libpurple 2.10.6)、ejabberd2.1.11を実行しています