[ADD/WIP] Bridging Matrix redacts

I'll still need to consider making redacts from other people count as
"moderations", whatever that is to Gajim, instead of a "self-redact".

Also, _please_, support it if you _ever_ wish adoption, XMPP users!
This commit is contained in:
LDA 2024-07-08 14:36:52 +02:00
commit 3c26ee6d22
5 changed files with 174 additions and 2 deletions

View file

@ -31,6 +31,7 @@ extern void XMPPLeaveMUC(XMPPComponent *comp, char *fr, char *muc, char *r);
/* TODO: XMPP stuff, I don't fucking know, I'm not a Jabbernerd. */
extern void XMPPSendPlain(XMPPComponent *comp, char *fr, char *to, char *msg, char *type, char *rst, char *rse, char *event_id, char *oob, char *id);
extern void XMPPSendPlainID(XMPPComponent *comp, char *fr, char *to, char *msg, char *type, char *rst, char *rse, char *event_id, char *oob, char *id, char *sid);
extern void XMPPRetract(XMPPComponent *comp, char *fr, char *to, char *type, char *redact);
/* Finishes a component stream, and doesn't free it. */
extern void XMPPFinishCompStream(XMPPComponent *stream);