From e617b5e8d47dfd8955c5e3565394e9f2b14a1204 Mon Sep 17 00:00:00 2001 From: LDA Date: Mon, 28 Apr 2025 02:18:57 +0200 Subject: [PATCH] [FIX/WIP] Unique redactions for moderation stanzas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, I'll consider Parsee dev to be dead until July 2026. J'ai le bac et déja un projet à faire, et si je peux même pas me concentrer sur mon futur en ne comptant pas Parsee. Feel free to make a good XMPP bridge, I don't really even want to touch either Matrix or XMPP anymore, you know? --- src/XMPPThread/Stanzas/Message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XMPPThread/Stanzas/Message.c b/src/XMPPThread/Stanzas/Message.c index c4066d9..13021df 100644 --- a/src/XMPPThread/Stanzas/Message.c +++ b/src/XMPPThread/Stanzas/Message.c @@ -277,7 +277,7 @@ end_error: Log(LOG_DEBUG, "Error management: %fs", Elapsed(rectime)); } - if (moderated) + if (moderated && !(!chat && strncmp(HashMapGet(stanza->attrs, "to"), "parsee@", 7))) { /* TODO: Parsee MUST check if it is a valid MUC */ char *resource = ParseeGetResource(from);