mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-07-05 17:42:49 +00:00
Remove conversation: Can delete completely a conversation
This commit is contained in:
@ -487,10 +487,14 @@ export class ConversationsHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Delete all the members of the conversation
|
// Delete all the members of the conversation
|
||||||
// TODO
|
await DatabaseHelper.DeleteRows(USERS_TABLE, {
|
||||||
|
conv_id: convID
|
||||||
|
});
|
||||||
|
|
||||||
// Delete the conversation entry itself
|
// Delete the conversation entry itself
|
||||||
// TODO
|
await DatabaseHelper.DeleteRows(LIST_TABLE, {
|
||||||
|
id: convID
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user