Skip to content

Commit

Permalink
Rename fun
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Jan 5, 2023
1 parent 437b93c commit 7e26c4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ internal class DeviceListManager @Inject constructor(
)
}

cryptoStore.storeUserDataToStore(userDataToStore)
cryptoStore.storeData(userDataToStore)

// Update devices trust for these users
// dispatchDeviceChange(downloadUsers)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,5 +601,5 @@ internal interface IMXCryptoStore {
/**
* Store a bunch of data related to the users. @See [UserDataToStore].
*/
fun storeUserDataToStore(userDataToStore: UserDataToStore)
fun storeData(userDataToStore: UserDataToStore)
}
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ internal class RealmCryptoStore @Inject constructor(
}
}

override fun storeUserDataToStore(userDataToStore: UserDataToStore) {
override fun storeData(userDataToStore: UserDataToStore) {
doRealmTransaction("storeUserDataToStore", realmConfiguration) { realm ->
userDataToStore.userDevices.forEach {
storeUserDevices(realm, it.key, it.value)
Expand Down

0 comments on commit 7e26c4b

Please sign in to comment.