Request group sync when pairing

Whoops, missed a step. Fixes #319. Fixes #276.

// FREEBIE
This commit is contained in:
lilia 2015-07-29 18:08:52 -07:00
parent c89d5e59a3
commit b3d93ab334
2 changed files with 4 additions and 2 deletions

View file

@ -39424,7 +39424,8 @@ TextSecureServer = function () {
return generateKeys(100, progressCallback);
}).then(TextSecureServer.registerKeys).
then(textsecure.registration.done).
then(textsecure.messaging.sendRequestContactSyncMessage);
then(textsecure.messaging.sendRequestContactSyncMessage).
then(textsecure.messaging.sendRequestGroupSyncMessage);
},
refreshPreKeys: function() {
return TextSecureServer.getMyKeys().then(function(preKeyCount) {

View file

@ -81,7 +81,8 @@
return generateKeys(100, progressCallback);
}).then(TextSecureServer.registerKeys).
then(textsecure.registration.done).
then(textsecure.messaging.sendRequestContactSyncMessage);
then(textsecure.messaging.sendRequestContactSyncMessage).
then(textsecure.messaging.sendRequestGroupSyncMessage);
},
refreshPreKeys: function() {
return TextSecureServer.getMyKeys().then(function(preKeyCount) {