Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara committed Feb 7, 2025
1 parent 82b7fae commit eaa520d
Showing 1 changed file with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,6 @@ class WireNotificationManager @Inject constructor(
.also { it.logIfEmptyUserName() }
.let { it.handle ?: it.name ?: "" } to calls
}
// }.map { calls ->
// userSessionScope.users.getSelfUser()
// .also { it?.logIfEmptyUserName() }
// .let { it?.handle ?: it?.name ?: "" } to calls
// }
}
.collect { (userName, calls) ->
callNotificationManager.handleIncomingCalls(calls, userId, userName)
Expand Down Expand Up @@ -390,23 +385,6 @@ class WireNotificationManager @Inject constructor(
.distinctUntilChanged()
.stateIn(scope)

// val isBlockedByE2EIRequiredState = scope.async {
// coreLogic.getSessionScope(userId).observeE2EIRequired()
// .map { it is E2EIRequiredResult.NoGracePeriod }
// .distinctUntilChanged()
// .stateIn(scope)
// }
//
// val selfUserNameState = scope.async {
// coreLogic.getSessionScope(userId)
// .users
// .observeSelfUser()
// .onEach { it.logIfEmptyUserName() }
// .map { it.handle ?: it.name ?: "" }
// .distinctUntilChanged()
// .stateIn(scope)
// }

coreLogic.getSessionScope(userId)
.messages
.getNotifications()
Expand Down

0 comments on commit eaa520d

Please sign in to comment.