Code quality
This commit is contained in:
parent
3dc5ef54ab
commit
fea54952d3
|
@ -38,9 +38,9 @@ internal class EnsureOlmSessionsForUsersAction @Inject constructor(private val o
|
||||||
|
|
||||||
devices.filter {
|
devices.filter {
|
||||||
// Don't bother setting up session to ourself
|
// Don't bother setting up session to ourself
|
||||||
it.identityKey() != olmDevice.deviceCurve25519Key &&
|
it.identityKey() != olmDevice.deviceCurve25519Key
|
||||||
// Don't bother setting up sessions with blocked users
|
// Don't bother setting up sessions with blocked users
|
||||||
!it.isVerified
|
&& !it.isVerified
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ensureOlmSessionsForDevicesAction.handle(devicesByUser)
|
return ensureOlmSessionsForDevicesAction.handle(devicesByUser)
|
||||||
|
|
Loading…
Reference in New Issue