mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Simplify openConversation
Now that the InboxView is initialized in the background page context, we can manipulate it more directly, without going through a global function on the foreground window. // FREEBIE
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
var open;
|
||||
window.openConversation = function(conversation) {
|
||||
if (inboxOpened === true) {
|
||||
appWindow.contentWindow.openConversation(conversation);
|
||||
owsDesktopApp.openConversation(conversation);
|
||||
} else {
|
||||
open = conversation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user