Diff

plugins/muc/muc.lib.lua @ 9862:f5623a1b33e5

MUC: Update error message for consistency
author Matthew Wild <mwild1@gmail.com>
date Mon, 18 Mar 2019 09:50:23 +0000
parent 9831:43f81e85cec2
child 10048:e5532fbdd163
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Sat Mar 16 18:51:02 2019 +0100
+++ b/plugins/muc/muc.lib.lua	Mon Mar 18 09:50:23 2019 +0000
@@ -498,7 +498,7 @@
 	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