Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 10061:5c71693c8345
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Jul 2019 02:44:32 +0200 |
parent | 9647:0f43b901c854 |
child | 10353:7b602e13c3b6 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Mon Jul 08 02:46:27 2019 +0200 +++ b/plugins/muc/mod_muc.lua Mon Jul 08 02:44:32 2019 +0200 @@ -453,7 +453,7 @@ if room == nil then -- Watch presence to create rooms - if stanza.attr.type == nil and stanza.name == "presence" then + if stanza.attr.type == nil and stanza.name == "presence" and stanza:get_child("x", "http://jabber.org/protocol/muc") then room = muclib.new_room(room_jid); return room:handle_first_presence(origin, stanza); elseif stanza.attr.type ~= "error" then