mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Prepare next RC threads migration to all users
This commit is contained in:
parent
2ca3387ab3
commit
61cb7a6ffb
1 changed files with 4 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue