aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-25 23:52:45 +0100
committerKim Alvefur <zash@zash.se>2019-11-25 23:52:45 +0100
commit093ef6bb23e47af21bcb5428386ace5013604424 (patch)
tree9cd9f1b37b299d0032987a89068405551103261a /plugins/muc/mod_muc.lua
parentc26f8beac4075c8d031ed9a620fac77653d1bb07 (diff)
downloadprosody-093ef6bb23e47af21bcb5428386ace5013604424.tar.gz
prosody-093ef6bb23e47af21bcb5428386ace5013604424.zip
MUC: Indicate that the room is the origin of various errors where 'from' is an occupant JID
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 166249cc..9481c977 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -191,7 +191,7 @@ end
local function handle_broken_room(room, origin, stanza)
module:log("debug", "Returning error from broken room %s", room.jid);
- origin.send(st.error_reply(stanza, "wait", "internal-server-error"));
+ origin.send(st.error_reply(stanza, "wait", "internal-server-error", nil, room.jid));
return true;
end