mod_vcard_xupdate not sending photo hash

I have enabled mod_vcard_xupdate module in ejabberd to send avatar photo but on the receiving side I am not seeing the photo hash although my IOS client code is sending the photo data. Here is a subset of the message received:

<c xmlns="http://jabber.org/protocol/caps" node="http://pidgin.im/" hash="sha-1" ver="DdnydQG7RGhP9E3k9Sf+b+bF0zo="/><x xmlns="vcard-temp:x:update"><photo/></x><x xmlns="http://jabber.org/protocol/muc#user">

Am I missing anything in configuration or client code?

BTW this is when sending

BTW this is when sending messages to group chat room.

Ok we figured out that unless

Ok we figured out that unless two users are friends with each other, ejabberd won't share images between two users. We are implementing a group chat, where we would like to have that association happen by default. Is it possible to configure ejabberd to enable that by default so that we do not have make xmpp calls to establish friendship relationship just to see each others images?

I my understanding, the

I my understanding, the behaviour conforms to the XMPP standard. If you want your server to behave differently, you will have to change the code.

Syndicate content