MongooseIM icon indicating copy to clipboard operation
MongooseIM copied to clipboard

Leaving Room for self user doen's work with error

Open vavadiyahiren opened this issue 2 years ago • 1 comments

MongooseIM version: 5.0.0 Installed from: pkg

Problem Statement

I am trying to change my affiliation from member/admin to none for my self user with the following stanza but server is resonding with the error saying feature-not-implemented, Am i missing something to enable at the server level or it is not possible at this level with the mongosim version 5.0.0.

Stazna i am logged on client end

Removing Self member

Request :

<iq id="FWHQFJNIJ" type="set" from="test3@<domain>/e9f764fef7e61c221646-911577-452166" to="japan10@conference.<domain>">
  <query xmlns="jabber:iq:register">
    <remove/>
  </query>
</iq>

Response :

<iq from='[email protected]' to='test3@domain/e9f764fef7e61c221646-911577-452166' type='error' xml:lang='en' id='FWHQFJNIJ'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
	<error code='501' type='cancel'>
		<feature-not-implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>From mod_muc_room</text>
	</error>
</iq>

Removing Seld Admin

Request

<iq id="VVBOVMJQK" type="set" from="test@<domain>/f84dd8af7423e2a31646-912322-363586" to="japan10@conference.<domain>">
  <query xmlns="http://jabber.org/protocol/muc#admin">
    <item affiliation="none" jid="test@<domain>"/>
  </query>
</iq>

Response

<iq from='[email protected]' to='test@domai>/f84dd8af7423e2a31646-912322-363586' id='VVBOVMJQK' type='error'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item affiliation='none' jid='test@domain'/>
	</query>
	<error code='403' type='auth'>
		<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>

vavadiyahiren avatar Mar 11 '22 05:03 vavadiyahiren

Hi! Could you share your configuration file?

Regarding removing yourself as a user: I think you should follow the procedure described in the MUC XEP, which is just sending an unavailable stanza to the MUC host, since "jabber:iq:register" namespace relates to XXEP-0077: In-Band Registration.

Regarding removing yourself as an admin: If you are an owner, I think MongooseIM doesn't allow to remove yourself from a room. If you are an admin, I also think you have to revoke the admin status first and then remove yourself as a user.

gustawlippa avatar Mar 28 '22 15:03 gustawlippa

Not reproduced, no activity - closing.

chrzaszcz avatar Apr 26 '23 06:04 chrzaszcz