Fix / m.key.verification.key was not sent in toDevice mode

This commit is contained in:
Valere 2019-12-26 16:58:14 +01:00
parent 38906084d1
commit 308b15b908

View file

@ -43,6 +43,8 @@ internal data class KeyVerificationKey(
}
}
override fun toSendToDeviceObject() = this
override fun isValid(): Boolean {
if (transactionID.isNullOrBlank() || key.isNullOrBlank()) {
return false