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:
lilia 2017-04-10 12:45:58 -07:00
parent 06e53871b2
commit cce1fe5c4b
2 changed files with 7 additions and 7 deletions

View file

@ -97,7 +97,7 @@
var open;
window.openConversation = function(conversation) {
if (inboxOpened === true) {
appWindow.contentWindow.openConversation(conversation);
owsDesktopApp.openConversation(conversation);
} else {
open = conversation;
}