mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Trigger empty event on keepalive timeout (#1466)
This commit is contained in:
@@ -57,6 +57,9 @@ MessageReceiver.prototype.extend({
|
||||
if (ev.code === 3000) {
|
||||
return;
|
||||
}
|
||||
if (ev.code === 3001) {
|
||||
this.onEmpty();
|
||||
}
|
||||
// possible 403 or network issue. Make an request to confirm
|
||||
return this.server.getDevices(this.number)
|
||||
.then(this.connect.bind(this)) // No HTTP error? Reconnect
|
||||
|
||||
Reference in New Issue
Block a user