Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 10449:2e36a54906e4
MUC: Indicate that the room is the origin of various errors where 'from' is an occupant JID
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Nov 2019 23:52:45 +0100 |
parent | 10366:5611c939743a |
child | 10450:c1edeb9fe337 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Mon Nov 25 23:51:41 2019 +0100 +++ b/plugins/muc/mod_muc.lua Mon Nov 25 23:52:45 2019 +0100 @@ -191,7 +191,7 @@ 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