Changeset

9862:f5623a1b33e5

MUC: Update error message for consistency
author Matthew Wild <mwild1@gmail.com>
date Mon, 18 Mar 2019 09:50:23 +0000
parents 9861:84916bbe5985
children 9863:aebfd1601ae2
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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