package refactor element x to bchot

This commit is contained in:
2025-12-19 15:54:24 +07:00
parent 8c3e4f491f
commit c83a13e9fe
74 changed files with 220 additions and 93 deletions

View File

@@ -41,7 +41,7 @@ class UserPushStoreDataStore(
init {
// Migrate legacy data. Previous file can be too long if the userId is too long. The userId can be up to 255 chars.
// Example of long file path, with `averylonguserid` replacing a very longer name
// /data/user/0/io.element.android.x.debug/files/datastore/push_store_@averylonguserid:example.org.preferences_pb
// /data/user/0/id.databisnis.android.bchot.debug/files/datastore/push_store_@averylonguserid:example.org.preferences_pb
val legacyFile = context.preferencesDataStoreFile("push_store_$userId")
if (legacyFile.exists()) {
Timber.d("Migrating legacy push data store for $userId")