mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[MOD] Separate the unlink in another function
This commit is contained in:
parent
749df0feb1
commit
e7ba1fa48d
3 changed files with 48 additions and 15 deletions
|
|
@ -344,7 +344,8 @@ extern bool ParseeManageBan(ParseeData *, char *user, char *room);
|
|||
extern bool ParseeVerifyDMStanza(ParseeData *data, char *room_id, char *id);
|
||||
|
||||
|
||||
/** Checks if a Matrix/XMPP user is considered as "administrator" by Parsee.
|
||||
/** Checks if a Matrix/XMPP user is considered as "administrator" by
|
||||
* Parsee.
|
||||
* ----------------------
|
||||
* Returns: (whenever the user is an admin)
|
||||
* Modifies: NOTHING */
|
||||
|
|
@ -411,4 +412,10 @@ extern char * ParseeHMAC(char *key, uint8_t *msg, size_t msglen);
|
|||
* Returns: NOTHING */
|
||||
extern void ParseeBroadcastStanza(ParseeData *data, char *from, XMLElement *s);
|
||||
|
||||
/** Destroys the mapping between a MUC and a room from a chat ID.
|
||||
* ----------------
|
||||
* Modifies: the DB's room mappings
|
||||
* Returns: NOTHING */
|
||||
extern void ParseeUnlinkRoom(ParseeData *data, char *chat_id);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue