From 62ac7875460fa3e6c21312715df6e86feab52e2c Mon Sep 17 00:00:00 2001 From: John Livingston Date: Sat, 29 Jun 2024 19:36:22 +0200 Subject: [PATCH] Terms: fix typo. --- .../mod_muc_peertubelivechat_terms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody-modules/mod_muc_peertubelivechat_terms/mod_muc_peertubelivechat_terms.lua b/prosody-modules/mod_muc_peertubelivechat_terms/mod_muc_peertubelivechat_terms.lua index cdb6ebf7..c11d8f33 100644 --- a/prosody-modules/mod_muc_peertubelivechat_terms/mod_muc_peertubelivechat_terms.lua +++ b/prosody-modules/mod_muc_peertubelivechat_terms/mod_muc_peertubelivechat_terms.lua @@ -32,7 +32,7 @@ local function create_terms_message(room, type, terms) id = id.medium() }, terms) :tag('x-livechat-terms', { type = type }):up() -- adding a custom tag to specify that it is a "terms" message, so that frontend can display it with a special template. - :tag("delay", { xmlns = "urn:xmpp:delay", from = host, stamp = datetime.datetime() }):up(); -- adding a delay to trick the moderation bot (see below) + :tag("delay", { xmlns = "urn:xmpp:delay", from = from, stamp = datetime.datetime() }):up(); -- adding a delay to trick the moderation bot (see below) -- concerning the delay tag: -- We are sending message to rooms from non-existant occupants.