# HG changeset patch # User Kim Alvefur # Date 1508469538 -7200 # Node ID f1a46eef9df1e1e27d6a01ad505399f3326d8c60 # Parent 7be8f649d97dc0b72cdcb6c30de383050879f3f5 MUC: Treat missing type and type=normal the same diff -r 7be8f649d97d -r f1a46eef9df1 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed Dec 27 01:00:34 2017 +0100 +++ b/plugins/muc/muc.lib.lua Fri Oct 20 05:18:58 2017 +0200 @@ -1128,7 +1128,7 @@ 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];