From c90d33f06acc07ee5bbacf71dd6595a4dbc3a6b9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 20 Oct 2017 05:18:58 +0200 Subject: MUC: Treat missing type and type=normal the same --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc') 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]; -- cgit v1.2.3