cleaning
This commit is contained in:
parent
77454c8ae9
commit
31eeb0674b
@ -40,8 +40,8 @@ internal class EnsureOlmSessionsForDevicesAction @Inject constructor(
|
|||||||
|
|
||||||
val results = MXUsersDevicesMap<MXOlmSessionResult>()
|
val results = MXUsersDevicesMap<MXOlmSessionResult>()
|
||||||
|
|
||||||
for ((userId, deviceInfo) in devicesByUser) {
|
for ((userId, deviceList) in devicesByUser) {
|
||||||
for (deviceInfo in deviceInfo) {
|
for (deviceInfo in deviceList) {
|
||||||
val deviceId = deviceInfo.deviceId
|
val deviceId = deviceInfo.deviceId
|
||||||
val key = deviceInfo.identityKey()
|
val key = deviceInfo.identityKey()
|
||||||
if (key == null) {
|
if (key == null) {
|
||||||
@ -153,8 +153,7 @@ internal class EnsureOlmSessionsForDevicesAction @Inject constructor(
|
|||||||
Timber.tag(loggerTag.value).d("verifyKeyAndStartSession() : Started new sessionId $sessionId for device $userId:$deviceId")
|
Timber.tag(loggerTag.value).d("verifyKeyAndStartSession() : Started new sessionId $sessionId for device $userId:$deviceId")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Timber.tag(loggerTag.value).e("verifyKeyAndStartSession() : Unable to verify signature on one-time key for device " + userId +
|
Timber.tag(loggerTag.value).e("verifyKeyAndStartSession() : Unable to verify otk signature for $userId:$deviceId: $errorMessage")
|
||||||
":" + deviceId + " Error " + errorMessage)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user