changeset 6360:3e8bd71d39bb

mod_http_muc_log: Ignore fallback body next to XEP-0444: Message Reactions Some clients send a quote reply along with XEP-0444 in order to accommodate legacy clients. This however takes up some space and the reaction is shown twice. This is a matter of some debate with diverging opinions about whether this should be done at all and how to handle this.
author Kim Alvefur <zash@zash.se>
date Thu, 15 Jan 2026 16:03:01 +0100
parents e920ce2f6472
children 4d7ae949810a
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Wed Jan 14 19:36:54 2026 +0000
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Thu Jan 15 16:03:01 2026 +0100
@@ -421,6 +421,8 @@
 					break
 				end
 			end
+			body = nil;
+			oob = nil;
 		end
 
 		-- XEP-0461: Message Replies