aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2019-03-18 09:50:23 +0000
committerMatthew Wild <mwild1@gmail.com>2019-03-18 09:50:23 +0000
commitb4f63e714100773e131d69792239875583595c15 (patch)
tree56f1bb05fcb4b3df491d4934d0cfd14914d59773 /plugins/muc/muc.lib.lua
parent84be765efd340d27079e3524acf20df5bfb11f1e (diff)
downloadprosody-b4f63e714100773e131d69792239875583595c15.tar.gz
prosody-b4f63e714100773e131d69792239875583595c15.zip
MUC: Update error message for consistency
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index a8d3d790..c828d17d 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -498,7 +498,7 @@ function room_mt:handle_normal_presence(origin, stanza)
if orig_occupant == nil and not muc_x and stanza.attr.type == nil then
module:log("debug", "Attempted join without <x>, possibly desynced");
origin.send(st.error_reply(stanza, "cancel", "item-not-found",
- "You must join the room before sending presence updates"));
+ "You are not currently connected to this chat"));
return true;
end