mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[ADD/WIP] No-fly list for Matrix users
Imagine being in Parsee jail.
This commit is contained in:
parent
46489b50e6
commit
f434f7aa87
4 changed files with 120 additions and 20 deletions
|
|
@ -184,4 +184,12 @@ extern void ParseeInitialiseJIDTable(void);
|
|||
extern void ParseePushJIDTable(char *muc, char *bare);
|
||||
extern char *ParseeLookupJID(char *muc);
|
||||
extern void ParseeDestroyJIDTable(void);
|
||||
|
||||
/* Globally bans a Matrix user from ever interacting with Parsee, and bans
|
||||
* them from bridged rooms where the bot has administrator. */
|
||||
extern void ParseeGlobalBan(ParseeData *, char *user);
|
||||
|
||||
/* Verifies if a user was globally banned. If so, then apply actions to the
|
||||
* room ID */
|
||||
extern bool ParseeManageBan(ParseeData *, char *user, char *room);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue