feat(crypto): Support for new UtdCause for historical messages
This commit is contained in:
parent
afed9268e7
commit
abc8a14c61
5 changed files with 20 additions and 6 deletions
|
|
@ -40,9 +40,12 @@ fun TimelineItemEncryptedView(
|
|||
UtdCause.UnknownDevice -> {
|
||||
CommonStrings.common_unable_to_decrypt_insecure_device to CompoundDrawables.ic_compound_block
|
||||
}
|
||||
UtdCause.HistoricalMessage -> {
|
||||
UtdCause.HistoricalMessageAndBackupIsDisabled -> {
|
||||
CommonStrings.timeline_decryption_failure_historical_event_no_key_backup to CompoundDrawables.ic_compound_block
|
||||
}
|
||||
UtdCause.HistoricalMessageAndDeviceIsUnverified -> {
|
||||
CommonStrings.timeline_decryption_failure_historical_event_unverified_device to CompoundDrawables.ic_compound_block
|
||||
}
|
||||
UtdCause.WithheldUnverifiedOrInsecureDevice -> {
|
||||
CommonStrings.timeline_decryption_failure_withheld_unverified to CompoundDrawables.ic_compound_block
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue