mirror of
https://github.com/element-hq/element-android
synced 2024-11-25 10:55:38 +03:00
Fix / m.key.verification.key was not sent in toDevice mode
This commit is contained in:
parent
38906084d1
commit
308b15b908
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ internal data class KeyVerificationKey(
|
|||
}
|
||||
}
|
||||
|
||||
override fun toSendToDeviceObject() = this
|
||||
|
||||
override fun isValid(): Boolean {
|
||||
if (transactionID.isNullOrBlank() || key.isNullOrBlank()) {
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue