Move message.getPropsForBubble and friends to selectors
This commit is contained in:
parent
03a187097f
commit
68f1023946
73 changed files with 3394 additions and 2576 deletions
|
@ -1,14 +1,14 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { DeletesModelType } from '../model-types.d';
|
||||
import { DeleteModel } from '../messageModifiers/Deletes';
|
||||
import { MessageModel } from '../models/messages';
|
||||
|
||||
const ONE_DAY = 24 * 60 * 60 * 1000;
|
||||
|
||||
export async function deleteForEveryone(
|
||||
message: MessageModel,
|
||||
doe: DeletesModelType,
|
||||
doe: DeleteModel,
|
||||
shouldPersist = true
|
||||
): Promise<void> {
|
||||
// Make sure the server timestamps for the DOE and the matching message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue