Software /
code /
prosody
Changeset
8179:c5fa7fe3fd79
MUC: Return item-not-found for eg messages to non-existant rooms (changed in 566aba0482b6 for unknown reason)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Jul 2017 11:21:28 +0200 |
parents | 8178:9f2a5fc9e4a5 |
children | 8180:67a9ff352271 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Thu Jul 06 11:21:10 2017 +0200 +++ b/plugins/muc/mod_muc.lua Thu Jul 06 11:21:28 2017 +0200 @@ -292,7 +292,7 @@ room = muclib.new_room(room_jid); return room:handle_first_presence(origin, stanza); elseif stanza.attr.type ~= "error" then - origin.send(st.error_reply(stanza, "cancel", "not-allowed")); + origin.send(st.error_reply(stanza, "cancel", "item-not-found")); return true; else return;