mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Replace MessageController with MessageCache
This commit is contained in:
@@ -89,9 +89,10 @@ export async function handleEditMessage(
|
||||
return;
|
||||
}
|
||||
|
||||
const mainMessageModel = window.MessageController.register(
|
||||
const mainMessageModel = window.MessageCache.__DEPRECATED$register(
|
||||
mainMessage.id,
|
||||
mainMessage
|
||||
mainMessage,
|
||||
'handleEditMessage'
|
||||
);
|
||||
|
||||
// Pull out the edit history from the main message. If this is the first edit
|
||||
|
||||
Reference in New Issue
Block a user