diff options
author | daurnimator <quae@daurnimator.com> | 2014-03-28 17:58:25 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-03-28 17:58:25 -0400 |
commit | 0bb399dca12ff1c6f0b15393ce957497acddce41 (patch) | |
tree | 71b5f184746d69bb7fe152fabb927cc2624fda1c /plugins/mod_component.lua | |
parent | ad1ec83264f36e03d2ae9a2292bc1aac6963350c (diff) | |
download | prosody-0bb399dca12ff1c6f0b15393ce957497acddce41.tar.gz prosody-0bb399dca12ff1c6f0b15393ce957497acddce41.zip |
plugins/muc/muc.lib: Improve set affiliation logic;
- Each affiliation and role is now ranked
- Changes up in affiliation will not downgrade your role
- Now sends a new set of presences if you gained moderator in a semi-anonymous room.
- Better input validation; matches closer with ':set_role'
- Don't short circuit; as if user has non-default role they will not get updated
Diffstat (limited to 'plugins/mod_component.lua')
0 files changed, 0 insertions, 0 deletions