Rust sdk : use newMessageShield state
This commit is contained in:
parent
4e887388ae
commit
e5b21c389e
3 changed files with 11 additions and 1 deletions
|
|
@ -152,5 +152,6 @@ private fun ShieldState?.map(): MessageShield? {
|
|||
ShieldStateCode.UNSIGNED_DEVICE -> MessageShield.UnsignedDevice(isCritical)
|
||||
ShieldStateCode.UNVERIFIED_IDENTITY -> MessageShield.UnverifiedIdentity(isCritical)
|
||||
ShieldStateCode.SENT_IN_CLEAR -> MessageShield.SentInClear(isCritical)
|
||||
ShieldStateCode.PREVIOUSLY_VERIFIED -> MessageShield.PreviouslyVerified(isCritical)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue