From 2c8555beaf2f1f60293e7fcfb1267e3aa7610dbc Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:32:31 -0700 Subject: [PATCH] Add SignalDebug.getMessageBySentAt --- ts/windows/main/start.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/windows/main/start.ts b/ts/windows/main/start.ts index 2e47f0e464..0c8540a7ee 100644 --- a/ts/windows/main/start.ts +++ b/ts/windows/main/start.ts @@ -60,6 +60,8 @@ if (!isProduction(window.SignalContext.getVersion())) { getConversation: (id: string) => window.ConversationController.get(id), getMessageById: (id: string) => window.MessageCache.__DEPRECATED$getById(id), + getMessageBySentAt: (timestamp: number) => + window.MessageCache.findBySentAt(timestamp, () => true), getReduxState: () => window.reduxStore.getState(), getSfuUrl: () => window.Signal.Services.calling._sfuUrl, getIceServerOverride: () =>