Diff

mod_ping_muc/mod_ping_muc.lua @ 4887:806f7c8d830b

mod_ping_muc: Remove 'kick' status code The intent is "you fell off", not "you were kicked out", however older clients may not recognise the 333 code, but that will have to be an acceptable loss.
author Kim Alvefur <zash@zash.se>
date Mon, 07 Feb 2022 16:52:19 +0100
parent 4804:a7c0c70e64b6
child 5130:0772facc786f
line wrap: on
line diff
--- a/mod_ping_muc/mod_ping_muc.lua	Sat Feb 05 01:11:22 2022 +0100
+++ b/mod_ping_muc/mod_ping_muc.lua	Mon Feb 07 16:52:19 2022 +0100
@@ -52,7 +52,6 @@
 											:text_tag("reason", err.text or "Connection to remote server lost")
 										:up()
 										:tag("status", { code = "110" }):up()
-										:tag("status", { code = "307" }):up()
 										:tag("status", { code = "333" }):up()
 									:reset());
 						end);