mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 05:05:11 +00:00
[ADD/MOD] XMPP->Matrix media bridge, small cleanup
This commit is contained in:
parent
4de7227ee7
commit
42d69226f0
14 changed files with 327 additions and 54 deletions
|
|
@ -43,4 +43,10 @@ extern void ASSetName(const ParseeConfig *c, char *user, char *name);
|
|||
/* Returns the user's name in a room, or a copy of the MXID itself, to be
|
||||
* Free'd. */
|
||||
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);
|
||||
|
||||
/* Reuploads a HTTP URL to Matrix, with an optional MIME type returned. */
|
||||
extern char * ASReupload(const ParseeConfig *c, char *from, char **mime);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue