Cannot change the privacy setting of avatar
Gajim 1.8.0
EDIT: what is below is actually confusing, the issue looks simpler after all. Gajim doesn't modify the access model of the avatar nodes (data and metadata), despite what the profile dialog says.
From the "profile" dialog, trying to change the privacy of everything (nick, avatar, vcard) to "public" fails, resulting in a state where my avatar isn't public.
From the console:
<!-- Outgoing dim. 23 juil. 2023 14:09:19 (nicoco@nicoco.fr) -->
<iq xmlns="jabber:client" type="set" id="4d1a780c-ca7b-4932-ab4c-af6629a172bb">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/nick">
<item id="current">
<nick xmlns="http://jabber.org/protocol/nick">nicoco</nick>
</item>
</publish>
<publish-options>
<x xmlns="jabber:x:data" type="submit">
<field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#publish-options</value>
</field>
<field var="pubsub#persist_items">
<value>true</value>
</field>
<field var="pubsub#access_model">
<value>open</value>
</field>
</x>
</publish-options>
</pubsub>
</iq>
<!-- Incoming dim. 23 juil. 2023 14:09:19 (nicoco@nicoco.fr) -->
<iq xmlns="jabber:client" type="error" to="nicoco@nicoco.fr/gajim.IFLBLFVA" id="4d1a780c-ca7b-4932-ab4c-af6629a172bb">
<error type="cancel">
<conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Field does not match: access_model</text>
<precondition-not-met xmlns="http://jabber.org/protocol/pubsub#errors" />
</error>
</iq>
I don't pubsub enough to really understand what's wrong here, but according to Zash:
That says "publish this if access_model=open and persist_items=true"
Prosody says that the condition is false, thus aborting the publish.
That's not how you change the config