Workaround for #363 Multiple open sessions bug
This doesn't solve the problem in the general case, but should at least unbreak registration. // FREEBIE
This commit is contained in:
parent
876e11c19b
commit
1c306df61f
1 changed files with 3 additions and 2 deletions
|
@ -101,8 +101,9 @@
|
|||
messageReceiver.addEventListener('contactsync', onContactSyncComplete);
|
||||
|
||||
if (firstRun === true && textsecure.storage.user.getDeviceId() != '1') {
|
||||
textsecure.messaging.sendRequestContactSyncMessage();
|
||||
textsecure.messaging.sendRequestGroupSyncMessage();
|
||||
textsecure.messaging.sendRequestContactSyncMessage().then(function() {
|
||||
textsecure.messaging.sendRequestGroupSyncMessage();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue