aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-06 11:21:28 +0200
committerKim Alvefur <zash@zash.se>2017-07-06 11:21:28 +0200
commitf9ddb56e414599dd0a28773fc849cca59c86b49f (patch)
treedcada164d0e0ebff62a4a229bebb2cc8d3c8b81d /plugins
parentebe2bfe792134d790197b2e6bd3201823a6a8946 (diff)
downloadprosody-f9ddb56e414599dd0a28773fc849cca59c86b49f.tar.gz
prosody-f9ddb56e414599dd0a28773fc849cca59c86b49f.zip
MUC: Return item-not-found for eg messages to non-existant rooms (changed in 566aba0482b6 for unknown reason)
Diffstat (limited to 'plugins')
-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 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;