[MOD] Separate the unlink in another function

This commit is contained in:
LDA 2024-09-26 11:11:39 +02:00
commit e7ba1fa48d
3 changed files with 48 additions and 15 deletions

View file

@ -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