mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 05:05:11 +00:00
[ADD/WIP] XMPP->Matrix avatar, start bridging bans
I still hate XEP-0084.
This commit is contained in:
parent
a3bef5c0c1
commit
1f658ece76
9 changed files with 587 additions and 27 deletions
|
|
@ -28,6 +28,7 @@ extern void ASJoin(const ParseeConfig *, char *, char *);
|
|||
|
||||
/* Bans from a room a specific user */
|
||||
extern void ASBan(const ParseeConfig *, char *, char *);
|
||||
extern void ASKick(const ParseeConfig *, char *, char *);
|
||||
|
||||
/* Invites from a room a specific user */
|
||||
extern void ASInvite(const ParseeConfig *, char *, char *);
|
||||
|
|
@ -53,6 +54,7 @@ extern char * ASCreateRoom(const ParseeConfig *c, char *by, char *alias);
|
|||
|
||||
/* Sets a user's displayname */
|
||||
extern void ASSetName(const ParseeConfig *c, char *user, char *name);
|
||||
extern void ASSetAvatar(const ParseeConfig *c, char *user, char *mxc);
|
||||
|
||||
/* Returns the user's name in a room, or a copy of the MXID itself, to be
|
||||
* Free'd. */
|
||||
|
|
@ -63,4 +65,7 @@ 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);
|
||||
|
||||
extern HashMap * ASGetUserConfig(const ParseeConfig *c, char *user, char *key);
|
||||
extern void ASSetUserConfig(const ParseeConfig *c, char *u, char *key, HashMap *map);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue