Skip to content

Commit

Permalink
Request contact sync only on the first connect after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Oct 26, 2018
1 parent 2060118 commit 739bd4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/background.js
Expand Up @@ -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'
Expand Down

0 comments on commit 739bd4d

Please sign in to comment.