mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Use minimal replacement class for MessageModel
This commit is contained in:
@@ -65,8 +65,7 @@ if (
|
||||
)?.attributes;
|
||||
},
|
||||
getConversation: (id: string) => window.ConversationController.get(id),
|
||||
getMessageById: (id: string) =>
|
||||
window.MessageCache.__DEPRECATED$getById(id, 'SignalDebug'),
|
||||
getMessageById: (id: string) => window.MessageCache.getById(id),
|
||||
getMessageBySentAt: (timestamp: number) =>
|
||||
window.MessageCache.findBySentAt(timestamp, () => true),
|
||||
getReduxState: () => window.reduxStore.getState(),
|
||||
|
||||
Reference in New Issue
Block a user