[FIX/WIP] Unique redactions for moderation stanzas

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?
This commit is contained in:
LDA 2025-04-28 02:18:57 +02:00
commit e617b5e8d4

View file

@ -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);