mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 20:38:40 +00:00
Fix typo
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class UserPushStoreDataStore(
|
|||||||
private val context: Context,
|
private val context: Context,
|
||||||
userId: SessionId,
|
userId: SessionId,
|
||||||
) : UserPushStore {
|
) : UserPushStore {
|
||||||
// Hash the sessionId to get ride of exotic chars and take only the first 16 chars.
|
// Hash the sessionId to get rid of exotic chars and take only the first 16 chars.
|
||||||
// The risk of collision is not high.
|
// The risk of collision is not high.
|
||||||
private val preferenceName = "push_store_${userId.value.hash().take(16)}"
|
private val preferenceName = "push_store_${userId.value.hash().take(16)}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user