diff options
author | Kim Alvefur <zash@zash.se> | 2017-07-06 11:21:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-07-06 11:21:28 +0200 |
commit | 74dea2bdb379f2fc44a844f7d0cf98c8937527a5 (patch) | |
tree | dcada164d0e0ebff62a4a229bebb2cc8d3c8b81d /plugins/muc/mod_muc.lua | |
parent | 134411e3e4c81c257b7d3382b86ec69583a92525 (diff) | |
download | prosody-74dea2bdb379f2fc44a844f7d0cf98c8937527a5.tar.gz prosody-74dea2bdb379f2fc44a844f7d0cf98c8937527a5.zip |
MUC: Return item-not-found for eg messages to non-existant rooms (changed in 566aba0482b6 for unknown reason)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index ac7c1fde..b2949e70 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -292,7 +292,7 @@ for event_name, method in pairs { 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; |