#1865 setting pubsub avatar doesn't update vcard for a muc-user
Reporter
Sergei
Owner
Nobody
Created
Updated
Stars
★★ (2)
Tags
Status-Invalid
Priority-Medium
Type-Defect
Sergei
on
What steps will reproduce the problem?
1. join a muc
2. publish pubsub avatar
3. ensure it's updated in the vcard of self contact
4. ensure it's updated in the vcard of the corresponding muc user
What is the expected output?
same vcard for both self contact and muc user
What do you see instead?
muc user has empty photo
```
<iq from="psi@conference.psi-im.org/rion" id="e5724abe-6471-4034-b093-5f16786d20b7" to="rion@psi-im.org/rionpc" type="result">
<vCard xmlns="vcard-temp">
<FN/>
<N>
<FAMILY/>
<GIVEN/>
<MIDDLE/>
<PREFIX/>
<SUFFIX/>
</N>
<NICKNAME>rion</NICKNAME>
</vCard>
</iq>
```
What version of the product are you using? On what operating system?
0.12.4
debian 12
Please provide any additional information below.
Sergei
on
IIRC somebody mentioned it's related to permissions.
even so xep-0060 says if we don't provide permissions on publish, it has to be pretty much public. basically I publish my avatar without setting any permissions.
Zash
on
Thanks for the report.
When publishing with pubsub, it is the clients responsibility to set permissions. The defaults recommended by XEP-0163 is to make information available only to contacts. Group chats do not count as contacts. This is all working as intended.
What steps will reproduce the problem? 1. join a muc 2. publish pubsub avatar 3. ensure it's updated in the vcard of self contact 4. ensure it's updated in the vcard of the corresponding muc user What is the expected output? same vcard for both self contact and muc user What do you see instead? muc user has empty photo ``` <iq from="psi@conference.psi-im.org/rion" id="e5724abe-6471-4034-b093-5f16786d20b7" to="rion@psi-im.org/rionpc" type="result"> <vCard xmlns="vcard-temp"> <FN/> <N> <FAMILY/> <GIVEN/> <MIDDLE/> <PREFIX/> <SUFFIX/> </N> <NICKNAME>rion</NICKNAME> </vCard> </iq> ``` What version of the product are you using? On what operating system? 0.12.4 debian 12 Please provide any additional information below.
IIRC somebody mentioned it's related to permissions. even so xep-0060 says if we don't provide permissions on publish, it has to be pretty much public. basically I publish my avatar without setting any permissions.
Thanks for the report. When publishing with pubsub, it is the clients responsibility to set permissions. The defaults recommended by XEP-0163 is to make information available only to contacts. Group chats do not count as contacts. This is all working as intended.
Changes