Introduce outage network status
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
1ca4ee555f
commit
1823f7eca9
11 changed files with 164 additions and 3 deletions
|
@ -1325,6 +1325,10 @@ export function initialize({
|
|||
window.Whisper.events.trigger('unlinkAndDisconnect');
|
||||
});
|
||||
|
||||
socketManager.on('connectError', () => {
|
||||
window.Whisper.events.trigger('socketConnectError');
|
||||
});
|
||||
|
||||
socketManager.on('deviceConflict', () => {
|
||||
window.Whisper.events.trigger('unlinkAndDisconnect');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue