mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 21:30:59 +01:00
Move Whisper.events out of views and tests
This commit is contained in:
@@ -324,5 +324,16 @@
|
||||
}
|
||||
};
|
||||
|
||||
Whisper.events.on('unauthorized', function() {
|
||||
if (owsDesktopApp.inboxView) {
|
||||
owsDesktopApp.inboxView.networkStatusView.update();
|
||||
}
|
||||
});
|
||||
Whisper.events.on('reconnectTimer', function() {
|
||||
if (owsDesktopApp.inboxView) {
|
||||
owsDesktopApp.inboxView.networkStatusView.setSocketReconnectInterval(60000);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user