mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +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