jdev - 2025-12-19


  1. singpolyma

    what could cause this, I get ``` <c hash="sha-1" node="https://dino.im" ver="6ggwrxA97IN314qDlU0ic5OWBEc=" xmlns="http://jabber.org/protocol/caps"/> <x xmlns="vcard-temp:x:update"> <photo>b1c33dc644ef38f38cb6edbc5ef55c0d255f43d5</photo> </x> ``` from the MUC participant in their present flood, but then when I ask for their vcard I get: ``` <vCard xmlns="vcard-temp"> <PHOTO> <TYPE>image/jpeg</TYPE> </PHOTO> </vCard> ``` so there is no photo there... where did the hash come from?

  2. lovetox

    Server injects hash because avatar is in pubsub, but you have no permission to query it

  3. lovetox

    Just a guess

  4. singpolyma

    Hmm. Is this vcards thsd says there's a photo but no base64 what I'd expect in that case? Maybe I have permission for the metadata but not the image node and the translator is doing this bonkers thing in response...

  5. lovetox

    yeah, you are right, if you have no permission i would expect no photo element at all

  6. lovetox

    but this could well be just a error in the translation