feat(crypto): Support new expected UTD causes UX + Analytics

This commit is contained in:
Valere 2024-12-02 14:50:10 +01:00
parent b73884cbc5
commit bcac193b12
6 changed files with 54 additions and 1 deletions

View file

@ -12,5 +12,22 @@ enum class UtdCause {
SentBeforeWeJoined,
VerificationViolation,
UnsignedDevice,
UnknownDevice
UnknownDevice,
/**
* Expected utd because this is a device-historical message and
* key storage is not setup or not configured correctly.
*/
HistoricalMessage,
/**
* The key was withheld on purpose because your device is insecure and/or the
* sender trust requirement settings are not met for your device
*/
WithheldUnverifiedOrInsecureDevice,
/**
* Key is withheld by sender
*/
WithheldBySender,
}