Wire up all contact behaviors, refactor Contact type/selector

This commit is contained in:
Scott Nonnenberg 2018-05-04 18:19:54 -07:00
parent 41be7f126b
commit 37821e5a1b
13 changed files with 198 additions and 192 deletions

View file

@ -238,6 +238,12 @@
appView.openInbox();
}
});
Whisper.events.on('showConversation', function(conversation) {
if (appView) {
appView.openConversation(conversation);
}
});
Whisper.Notifications.on('click', function(conversation) {
showWindow();
if (conversation) {