diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-20 05:18:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-20 05:18:58 +0200 |
commit | ac3bc50bddcb5b5916a60e9ec46f76a6144c8584 (patch) | |
tree | 811de7951cee97879fb91958a0d94a7f3577a8d3 | |
parent | 90b5a7c1e20c3ba1aa819b5979a2bca470ca22af (diff) | |
download | prosody-ac3bc50bddcb5b5916a60e9ec46f76a6144c8584.tar.gz prosody-ac3bc50bddcb5b5916a60e9ec46f76a6144c8584.zip |
MUC: Treat missing type and type=normal the same
-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 6214fa38..93a30ab5 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -1128,7 +1128,7 @@ function room_mt:handle_message_to_room(origin, stanza) return self:handle_groupchat_to_room(origin, stanza) elseif type == "error" and is_kickable_error(stanza) then return self:handle_kickable(origin, stanza) - elseif type == nil then + elseif type == nil or type == "normal" then local x = stanza:get_child("x", "http://jabber.org/protocol/muc#user"); if x then local payload = x.tags[1]; |