Retry outbound reactions for up to a day
This commit is contained in:
parent
4a6b7968c1
commit
8670a4d864
25 changed files with 1444 additions and 473 deletions
8
ts/util/areObjectEntriesEqual.ts
Normal file
8
ts/util/areObjectEntriesEqual.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export const areObjectEntriesEqual = <T>(
|
||||
a: Readonly<T>,
|
||||
b: Readonly<T>,
|
||||
keys: ReadonlyArray<keyof T>
|
||||
): boolean => a === b || keys.every(key => a[key] === b[key]);
|
Loading…
Add table
Add a link
Reference in a new issue