mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 18:25:10 +00:00
[MOD] Do not send an edit stanza.
This commit is contained in:
parent
80ed79402a
commit
d71f7d2f49
2 changed files with 6 additions and 11 deletions
|
|
@ -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. */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue