Can delete a group conversation

This commit is contained in:
2021-04-05 15:16:37 +02:00
parent ac2ba87f18
commit 2fb3c7e789
5 changed files with 63 additions and 8 deletions

View File

@ -134,6 +134,17 @@ const GroupsInterface = {
}, true)
},
/**
* Delete a group conversation
*
* @param {Number} convID The ID of the conversation to delete
*/
deleteGroupConversation: async function(convID) {
await api("groups/delete_conversation", {
conv_id: convID,
}, true)
},
/**
* Check the availability of a virtual directory for a group
*