mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Add SignalDebug.getMessageBySentAt
This commit is contained in:
@@ -60,6 +60,8 @@ if (!isProduction(window.SignalContext.getVersion())) {
|
|||||||
getConversation: (id: string) => window.ConversationController.get(id),
|
getConversation: (id: string) => window.ConversationController.get(id),
|
||||||
getMessageById: (id: string) =>
|
getMessageById: (id: string) =>
|
||||||
window.MessageCache.__DEPRECATED$getById(id),
|
window.MessageCache.__DEPRECATED$getById(id),
|
||||||
|
getMessageBySentAt: (timestamp: number) =>
|
||||||
|
window.MessageCache.findBySentAt(timestamp, () => true),
|
||||||
getReduxState: () => window.reduxStore.getState(),
|
getReduxState: () => window.reduxStore.getState(),
|
||||||
getSfuUrl: () => window.Signal.Services.calling._sfuUrl,
|
getSfuUrl: () => window.Signal.Services.calling._sfuUrl,
|
||||||
getIceServerOverride: () =>
|
getIceServerOverride: () =>
|
||||||
|
|||||||
Reference in New Issue
Block a user