aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
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
commit62f33cd891e824a8d9c5a99c5d1a51af6c23835d (patch)
tree56f1bb05fcb4b3df491d4934d0cfd14914d59773 /plugins/muc
parentcfbebf9baa57a17a4d47b5c32b77a755a08869b6 (diff)
downloadprosody-62f33cd891e824a8d9c5a99c5d1a51af6c23835d.tar.gz
prosody-62f33cd891e824a8d9c5a99c5d1a51af6c23835d.zip
MUC: Update error message for consistency
Diffstat (limited to 'plugins/muc')
-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