Stop hiding inbox instead of closing

This behavior was intended to help keep the websocket alive, but keeping
the inbox window around can cause some stale frontend state. Also we now
have a keepalive alarm to check for new messages once a minute.
This commit is contained in:
lilia 2015-06-15 11:19:33 -07:00
parent 72f16b94ff
commit 694f801676

View file

@ -30,11 +30,7 @@
'click .minimize': 'minimize'
},
close: function() {
if (this.appWindow.id === 'inbox') {
this.appWindow.hide();
} else {
this.appWindow.close();
}
this.appWindow.close();
},
minimize: function() {
this.appWindow.minimize();