diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-12-19 23:14:13 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-12-19 23:14:13 +0000 |
commit | 69c132f765a650e6fdf985f97c86bef613732d4e (patch) | |
tree | 2a03a484a66856eae94362c8f2e7b9413a8c6531 /plugins/muc/muc.lib.lua | |
parent | c3f94c1e277ba79c83b0f8963d6bb0af5cc95d2a (diff) | |
download | prosody-69c132f765a650e6fdf985f97c86bef613732d4e.tar.gz prosody-69c132f765a650e6fdf985f97c86bef613732d4e.zip |
MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 7a7ddf41..96cd0ffa 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -61,7 +61,7 @@ module:hook("muc-get-default-role", function(event) elseif event.affiliation_rank >= valid_affiliations.none then return "participant"; end -end); +end, -1); --- Occupant functions function room_mt:new_occupant(bare_real_jid, nick) |