Retry outbound reactions for up to a day

This commit is contained in:
Evan Hahn
2021-10-29 18:19:44 -05:00
committed by GitHub
parent 4a6b7968c1
commit 8670a4d864
25 changed files with 1444 additions and 473 deletions

View 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]);