mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 22:45:12 +00:00
[ADD] Respect MIME, start bridging leaves/kicks
Wow, this one _wasn't_ pushed at 3AM, Outstanding.
This commit is contained in:
parent
4d055f3688
commit
43b3f8aaf5
8 changed files with 146 additions and 24 deletions
|
|
@ -63,7 +63,7 @@ extern void ASSetAvatar(const ParseeConfig *c, char *user, char *mxc);
|
|||
extern char * ASGetName(const ParseeConfig *c, char *room, char *user);
|
||||
|
||||
/* Uploads data to Matrix to be used later */
|
||||
extern char * ASUpload(const ParseeConfig *c, Stream *from, unsigned int size);
|
||||
extern char * ASUpload(const ParseeConfig *c, Stream *from, unsigned int size, char *mime);
|
||||
|
||||
/* Reuploads a HTTP URL to Matrix, with an optional MIME type returned. */
|
||||
extern char * ASReupload(const ParseeConfig *c, char *from, char **mime);
|
||||
|
|
|
|||
|
|
@ -24,8 +24,9 @@ extern XMPPComponent * XMPPInitialiseCompStream(char *host, int port);
|
|||
* after XMPPInitialiseCompStream. */
|
||||
extern bool XMPPAuthenticateCompStream(XMPPComponent *comp, char *shared);
|
||||
|
||||
/* Makes a user join a MUC */
|
||||
/* Makes a user join/leave a MUC */
|
||||
extern void XMPPJoinMUC(XMPPComponent *comp, char *fr, char *muc);
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue