Improve asXId and make tests pass in release and debug mode.
This commit is contained in:
parent
ab1b1ab1cb
commit
f4e4be7479
15 changed files with 121 additions and 25 deletions
|
|
@ -42,7 +42,7 @@ class FirebaseNewTokenHandler @Inject constructor(
|
|||
firebaseStore.storeFcmToken(firebaseToken)
|
||||
// Register the pusher for all the sessions
|
||||
sessionStore.getAllSessions().toUserList()
|
||||
.map { it.asSessionId() }
|
||||
.mapNotNull { it.asSessionId() }
|
||||
.forEach { userId ->
|
||||
val userDataStore = userPushStoreFactory.create(userId)
|
||||
if (userDataStore.getPushProviderName() == FirebaseConfig.name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue