mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 19:18:37 +00:00
Always fetch remote configs on app update.
This commit is contained in:
committed by
Greyson Parrelli
parent
96292cd4a1
commit
c3f1036686
@@ -27,6 +27,7 @@ object VersionTracker {
|
||||
if (currentVersionCode != lastVersionCode) {
|
||||
Log.i(TAG, "Upgraded from $lastVersionCode to $currentVersionCode. Clearing client deprecation.", true)
|
||||
SignalStore.misc.isClientDeprecated = false
|
||||
SignalStore.remoteConfig.eTag = ""
|
||||
val jobChain = listOf(RemoteConfigRefreshJob(), RefreshAttributesJob())
|
||||
AppDependencies.jobManager.startChain(jobChain).enqueue()
|
||||
RetrieveRemoteAnnouncementsJob.enqueue(true)
|
||||
|
||||
Reference in New Issue
Block a user