[MOD] Do not send an edit stanza.

This commit is contained in:
LDA 2024-07-10 11:57:29 +02:00
commit d71f7d2f49
2 changed files with 6 additions and 11 deletions

View file

@ -403,21 +403,17 @@ ParseeEventHandler(ParseeData *data, HashMap *event)
}
/* Some clients don't support retractions *at all*, which smell.
* This therefore serves as a fallback, just in case that fails. */
XMPPSendPlain(
jabber, from, to,
"[EDIT REDACT FROM PARSEE]",
(char *) type,
NULL, NULL, redacted,
NULL, redacted_stanza
);
* This therefore serves as a fallback, just in case that fails.
*
* TODO: BAD IDEA. XMPP CLIENTS, FUCKING IMPLEMENT IT YOU LAZY
* FUCKTARDS.
*/
XMPPRetract(jabber, from, to, (char *) type, redacted_stanza);
Free(redacted_stanza);
Free(chat_id);
Free(from);
Free(to);
/* TODO: Implement Matrix->XMPP redactions. */
}
}