What steps will reproduce the problem?
1. Be only owner of a room
2. Attempt to reserve your nickname trough affiliation editor (eg Gajim)
What is the expected output?
Nickname is reserved
What do you see instead?
error: cancel, conflict
What version of the product are you using?
Prosody trunk 537f6a27bdb6
Please provide any additional information below.
The code that is meant to prevent removing the last owner from a room rejects change.
https://hg.prosody.im/trunk/file/537f6a27bdb6/plugins/muc/muc.lib.lua#l1251
It should be changed to only prevent demotion of the last owner.
What steps will reproduce the problem? 1. Be only owner of a room 2. Attempt to reserve your nickname trough affiliation editor (eg Gajim) What is the expected output? Nickname is reserved What do you see instead? error: cancel, conflict What version of the product are you using? Prosody trunk 537f6a27bdb6 Please provide any additional information below. The code that is meant to prevent removing the last owner from a room rejects change. https://hg.prosody.im/trunk/file/537f6a27bdb6/plugins/muc/muc.lib.lua#l1251 It should be changed to only prevent demotion of the last owner.
Fixed in https://hg.prosody.im/trunk/rev/81ef96368bff
Changes