mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-28 14:38:52 +00:00
Remove conversation: Can delete completely a conversation
This commit is contained in:
parent
5a253f114c
commit
aeb561bd41
@ -487,10 +487,14 @@ export class ConversationsHelper {
|
||||
}
|
||||
|
||||
// Delete all the members of the conversation
|
||||
// TODO
|
||||
await DatabaseHelper.DeleteRows(USERS_TABLE, {
|
||||
conv_id: convID
|
||||
});
|
||||
|
||||
// Delete the conversation entry itself
|
||||
// TODO
|
||||
await DatabaseHelper.DeleteRows(LIST_TABLE, {
|
||||
id: convID
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user