User:Pep./Affiliations comparison

[0]: admin and downwards: admin, member, outcast affiliations are visible

[1]: all categories are visible

[2]: Gets kicked from the room. Cannot join.

Ejabberd room configuration:  http://jabber.org/protocol/muc#roomconfig      en   1   0   0   0     200   anyone   moderator  participant  visitor   1  <field var="muc#roomconfig_moderatedroom"> 0  <field var="members_by_default"> 1  <field var="muc#roomconfig_changesubject"> 1  <field var="allow_private_messages"> 1  <field var="allow_private_messages_from_visitors"> anyone  <field var="allow_query_users"> 0  <field var="muc#roomconfig_allowinvites"> 0  <field var="allow_visitor_status"> 1  <field var="allow_visitor_nickchange"> 1  <field var="allow_voice_requests"> 1  <field var="allow_subscription"> 0  <field var="voice_request_min_interval"> 1800  <field var="muc#roomconfig_pubsub">  <field var="enable_hats"> 0    0  </x> </iq>

Prosody room configuration <iq id="c99f578389e644b5b1a4a37092c87a89" type="set" to="foo@foo.localhost"><query xmlns="http://jabber.org/protocol/muc#owner"><x xmlns="jabber:x:data" type="submit"> Complete and submit this form to configure the room. <field type="hidden" var="FORM_TYPE"> http://jabber.org/protocol/muc#roomconfig   Room information  <field var="muc#roomconfig_roomname">  <field var="muc#roomconfig_roomdesc">  <field var="muc#roomconfig_lang"><validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:language" /> en  <field var="muc#roomconfig_persistentroom"> 1  <field var="muc#roomconfig_publicroom"> 0    Access to the room</value <field var="muc#roomconfig_roomsecret">  <field var="muc#roomconfig_membersonly"> 1  <field var="{http://prosody.im/protocol/muc}roomconfig_allowmemberinvites"> 1    Permissions in the room  <field var="muc#roomconfig_changesubject"> 0  <field var="muc#roomconfig_moderatedroom"> 0  <field var="muc#roomconfig_whois"> moderators    Other options  <field var="muc#roomconfig_historylength"><validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer" /> 20  <field var="muc#roomconfig_defaulthistorymessages"><validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer" /> 20  <field var="muc#roomconfig_presencebroadcast"> visitor  participant  moderator  </x> </iq>