1
0
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:
Pierre HUBERT 2019-12-07 18:10:11 +01:00
parent 5a253f114c
commit aeb561bd41

View File

@ -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
});
}
/**