Request contact sync only on the first connect after upgrade

This commit is contained in:
Scott Nonnenberg 2018-10-26 10:59:52 -07:00
parent 2060118e85
commit 739bd4dbda

View file

@ -747,6 +747,7 @@
// (but only if we're not the primary device)
if (
!firstRun &&
connectCount === 1 &&
newVersion &&
// eslint-disable-next-line eqeqeq
textsecure.storage.user.getDeviceId() != '1'