You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<iqfrom="[email protected]"id="b481ab5f-5311-4829-984d-80899c9c2a48"to="rion@localhost/rionpc"type="result"xml:lang="en">
<queryxmlns="http://jabber.org/protocol/disco#info">
<identitycategory="conference"type="text"/>
<featurevar="vcard-temp"/>
<featurevar="http://jabber.org/protocol/muc"/>
<featurevar="http://jabber.org/protocol/disco#info"/>
<featurevar="http://jabber.org/protocol/disco#items"/>
<featurevar="http://jabber.org/protocol/commands"/>
<featurevar="urn:xmpp:message-moderate:0"/>
<featurevar="urn:xmpp:message-retract:1"/>
<featurevar="muc_public"/>
<featurevar="muc_temporary"/>
<featurevar="muc_open"/>
<featurevar="muc_semianonymous"/>
<featurevar="muc_moderated"/>
<featurevar="muc_unsecured"/>
<featurevar="jabber:iq:register"/>
<featurevar="urn:xmpp:mam:tmp"/>
<featurevar="urn:xmpp:mam:0"/>
<featurevar="urn:xmpp:mam:1"/>
<featurevar="urn:xmpp:mam:2"/>
<featurevar="urn:xmpp:sid:0"/>
<xxmlns="jabber:x:data"type="result">
<fieldtype="hidden"var="FORM_TYPE">
<value>http://jabber.org/protocol/muc#roominfo</value>
</field>
<fieldlabel="Number of occupants"type="text-single"var="muc#roominfo_occupants">
<value>1</value>
</field>
<fieldlabel="Natural-Language Room Name"type="text-single"var="muc#roomconfig_roomname"/>
<fieldlabel="Room description"type="text-single"var="muc#roominfo_description"/>
<fieldlabel="Occupants May Change the Subject"type="boolean"var="muc#roomconfig_changesubject">
<value>1</value>
</field>
<fieldlabel="Occupants are allowed to invite others"type="boolean"var="muc#roomconfig_allowinvites">
<value>0</value>
</field>
<fieldlabel="Occupants are allowed to query others"type="boolean"var="muc#roomconfig_allow_query_users">
<value>1</value>
</field>
<fieldlabel="Roles that May Send Private Messages"type="list-single"var="muc#roomconfig_allowpm">
<value>anyone</value>
<optionlabel="Anyone">
<value>anyone</value>
</option>
<optionlabel="Anyone with Voice">
<value>participants</value>
</option>
<optionlabel="Moderators Only">
<value>moderators</value>
</option>
<optionlabel="Nobody">
<value>none</value>
</option>
</field>
<fieldlabel="Natural Language for Room Discussions"type="text-single"var="muc#roominfo_lang">
<value>en</value>
</field>
</x>
</query>
</iq>
According to XEP-0486 there has to be roominfo_avatarhash in disco result, and if it's not there that means avatar is not set.
So my code relies on this and removes this muc's avatar from its cache. But in fact ejabberd still has it avatar.
I believe something has to be fixed. the xep or ejabberd.
The text was updated successfully, but these errors were encountered:
Before creating a ticket, please consider if this should fit the discussion forum better.
Environment
Errors from error.log/crash.log
No errors
Bug description
It's about XEP-0486 implementation.
after setting vcard-temp for muc it sends back two stanzas
this triggers my code to query disco#info
which looks like this
According to XEP-0486 there has to be roominfo_avatarhash in disco result, and if it's not there that means avatar is not set.
So my code relies on this and removes this muc's avatar from its cache. But in fact ejabberd still has it avatar.
I believe something has to be fixed. the xep or ejabberd.
The text was updated successfully, but these errors were encountered: