added historical message error label string (#3580)

This commit is contained in:
Mauro
2024-12-03 17:21:02 +01:00
committed by GitHub
parent 7e5624f9c0
commit c566c64c78
3 changed files with 25 additions and 1 deletions
@@ -155,7 +155,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
errorLabel = L10n.commonUnableToDecryptNoAccess
case .historicalMessage:
encryptionType = .megolmV1AesSha2(sessionID: sessionID, cause: .historicalMessage)
errorLabel = L10n.commonUnableToDecryptNoAccess
errorLabel = L10n.timelineDecryptionFailureHistoricalEventNoKeyBackup
}
case .olmV1Curve25519AesSha2(let senderKey):
encryptionType = .olmV1Curve25519AesSha2(senderKey: senderKey)