Prepare next RC threads migration to all users

This commit is contained in:
ariskotsomitopoulos 2022-03-17 19:09:09 +01:00
parent 2ca3387ab3
commit 61cb7a6ffb
1 changed files with 4 additions and 3 deletions

View File

@ -164,9 +164,10 @@ class HomeActivityViewModel @AssistedInject constructor(
}
// Enable all users
// When we would to enable threads for all
// if(vectorPreferences.shouldMigrateThreads) -->
// vectorPreferences.setThreadMessagesEnabled() &&
// lightweightSettingsStorage.setThreadMessagesEnabled(vectorPreferences.areThreadMessagesEnabled())
// if(vectorPreferences.shouldMigrateThreads()) {
// vectorPreferences.setThreadMessagesEnabled()
// lightweightSettingsStorage.setThreadMessagesEnabled(vectorPreferences.areThreadMessagesEnabled())
// }
if(vectorPreferences.shouldMigrateThreads() && vectorPreferences.areThreadMessagesEnabled()){
Timber.i("----> Try to migrate threads")
_viewEvents.post(HomeActivityViewEvents.MigrateThreads(checkSession = true))