mod_ping_muc: Remove 'kick' status code
authorKim Alvefur <zash@zash.se>
Mon, 07 Feb 2022 16:52:19 +0100
changeset 4891 806f7c8d830b
parent 4890 cbe71ecb4677
child 4892 dc7c9ae15f43
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.
mod_ping_muc/mod_ping_muc.lua
--- 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);