Clean up group story replies
This commit is contained in:
parent
50c48315e3
commit
6700f6fa15
4 changed files with 94 additions and 28 deletions
|
@ -12,6 +12,10 @@ export async function deleteForEveryone(
|
|||
doe: DeleteModel,
|
||||
shouldPersist = true
|
||||
): Promise<void> {
|
||||
if (message.deletingForEveryone || message.get('deletedForEveryone')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isDeletionByMe(message, doe)) {
|
||||
await message.handleDeleteForEveryone(doe, shouldPersist);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue