#1693 Wrong affiliation and role on destroy message from muc
What steps will reproduce the problem?
1. Destroy a room: echo "> hosts['conference.mydomain.com'].modules.muc.get_room_from_jid('firstname.lastname@example.org'):destroy()" | nc -w1 localhost 5582
2. Examine the messages received on a client connected to the room
What is the expected output?
Not sure :)
Should have affiliation none maybe ... or missing that child node in the x element ...
What do you see instead?
<presence xmlns='jabber:client' xml:lang='en' email@example.com/focus' firstname.lastname@example.org/focus' type='unavailable'>
<item affiliation='owner' email@example.com/focus' role='none'></item>
What version of the product are you using? On what operating system?
Please provide any additional information below.
Thanks. Agree that affiliation=none would make more sense, tho role=none (you're being kicked) does communicate what's going on, in a way, even if you don't understand <destroy>