mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Fix a bug where the room state wouldn't indicate when a call was in progress. (#3442)
* Fix breaking changes on decryption errors and sending failures. * Update SDK and analytics events. * Add extra UTD strings. --------- Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
This commit is contained in:
@@ -157,8 +157,14 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
case .unknown:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .unknown)
|
||||
errorLabel = L10n.commonWaitingForDecryptionKey
|
||||
case .membership:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .membership)
|
||||
case .verificationViolation:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .verificationViolation)
|
||||
errorLabel = L10n.commonUnableToDecryptVerificationViolation
|
||||
case .unsignedDevice, .unknownDevice:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .insecureDevice)
|
||||
errorLabel = L10n.commonUnableToDecryptInsecureDevice
|
||||
case .sentBeforeWeJoined:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .sentBeforeWeJoined)
|
||||
errorLabel = L10n.commonUnableToDecryptNoAccess
|
||||
}
|
||||
case .olmV1Curve25519AesSha2(let senderKey):
|
||||
|
||||
Reference in New Issue
Block a user