Add SignalDebug.getMessageBySentAt

This commit is contained in:
Jamie Kyle 2024-09-23 09:32:31 -07:00 committed by GitHub
parent 77e79e8da5
commit 2c8555beaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: () =>