Unlink on device conflict 4409

This commit is contained in:
Jamie Kyle 2024-02-21 12:33:56 -08:00 committed by GitHub
parent e12b5fd0af
commit a27890b988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -1320,6 +1320,10 @@ export function initialize({
window.Whisper.events.trigger('unlinkAndDisconnect');
});
socketManager.on('deviceConflict', () => {
window.Whisper.events.trigger('unlinkAndDisconnect');
});
if (useWebSocket) {
void socketManager.authenticate({ username, password });
}