Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity.

This commit is contained in:
Benoit Marty
2024-04-02 16:23:57 +02:00
committed by Benoit Marty
parent e18e5f1cc5
commit 52c039d676
11 changed files with 13 additions and 13 deletions
@@ -22,5 +22,5 @@ import io.element.android.libraries.matrix.api.core.SessionId
* Store data related to push about a user.
*/
interface UserPushStoreFactory {
fun create(userId: SessionId): UserPushStore
fun getOrCreate(userId: SessionId): UserPushStore
}