update local session id and stop polling if local session id has changed

This commit is contained in:
ryanzhao
2020-06-25 09:33:44 +10:00
parent 106c22d9d2
commit 6fcc26cc22
2 changed files with 10 additions and 1 deletions

View File

@@ -145,5 +145,7 @@ class LandingActivity : BaseActionBarActivity(), LinkDeviceSlaveModeDialogDelega
TextSecurePreferences.removeLocalNumber(this)
TextSecurePreferences.setHasSeenWelcomeScreen(this, false)
TextSecurePreferences.setPromptedPushRegistration(this, false)
val application = ApplicationContext.getInstance(this)
application.stopPollingIfNeeded()
}
}