mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-27 13:14:55 +00:00
Don't start key rotation listener until we connect to socket
We're seeing evidence of post-export Chrome apps causing problems with the Standalone install that imported the data. They both try to rotate signed prekeys.
This commit is contained in:
@@ -93,7 +93,6 @@
|
||||
}
|
||||
|
||||
Whisper.WallClockListener.init(Whisper.events);
|
||||
Whisper.RotateSignedPreKeyListener.init(Whisper.events);
|
||||
Whisper.ExpiringMessagesListener.init(Whisper.events);
|
||||
});
|
||||
|
||||
@@ -119,6 +118,8 @@
|
||||
|
||||
if (messageReceiver) { messageReceiver.close(); }
|
||||
|
||||
Whisper.RotateSignedPreKeyListener.init(Whisper.events);
|
||||
|
||||
var USERNAME = storage.get('number_id');
|
||||
var PASSWORD = storage.get('password');
|
||||
var mySignalingKey = storage.get('signaling_key');
|
||||
|
||||
Reference in New Issue
Block a user