mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Update SDK 1.0.77 (#3578)
* update SDK * added new cause case * added historical message
This commit is contained in:
@@ -393,6 +393,8 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol {
|
||||
analytics.trackError(context: nil, domain: .E2EE, name: .ExpectedVerificationViolation, timeToDecryptMillis: timeToDecryptMs)
|
||||
case .sentBeforeWeJoined:
|
||||
analytics.trackError(context: nil, domain: .E2EE, name: .ExpectedDueToMembership, timeToDecryptMillis: timeToDecryptMs)
|
||||
case .historicalMessage:
|
||||
analytics.trackError(context: nil, domain: .E2EE, name: .HistoricalMessage, timeToDecryptMillis: timeToDecryptMs)
|
||||
}
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
|
||||
+1
@@ -18,6 +18,7 @@ struct EncryptedRoomTimelineView: View {
|
||||
case .unknown:
|
||||
return \.time
|
||||
case .sentBeforeWeJoined,
|
||||
.historicalMessage,
|
||||
.verificationViolation,
|
||||
.insecureDevice:
|
||||
return \.block
|
||||
|
||||
+1
@@ -19,6 +19,7 @@ struct EncryptedRoomTimelineItem: EventBasedTimelineItemProtocol, Equatable {
|
||||
case verificationViolation
|
||||
case insecureDevice
|
||||
case unknown
|
||||
case historicalMessage
|
||||
}
|
||||
|
||||
let id: TimelineItemIdentifier
|
||||
|
||||
@@ -153,6 +153,9 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
case .sentBeforeWeJoined:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .sentBeforeWeJoined)
|
||||
errorLabel = L10n.commonUnableToDecryptNoAccess
|
||||
case .historicalMessage:
|
||||
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .historicalMessage)
|
||||
errorLabel = L10n.commonUnableToDecryptNoAccess
|
||||
}
|
||||
case .olmV1Curve25519AesSha2(let senderKey):
|
||||
encryptionType = .olmV1Curve25519AesSha2(senderKey: senderKey)
|
||||
|
||||
Reference in New Issue
Block a user