mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Fix / Use transport to start verification
This commit is contained in:
parent
e71ad0e515
commit
62f0c6edc0
@ -21,7 +21,7 @@ import im.vector.matrix.android.api.session.events.model.Content
|
||||
import im.vector.matrix.android.api.session.room.model.relation.RelationDefaultContent
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
class MessageVerificationRequestContent(
|
||||
data class MessageVerificationRequestContent(
|
||||
@Json(name = "msgtype") override val type: String = MessageType.MSGTYPE_VERIFICATION_REQUEST,
|
||||
@Json(name = "body") override val body: String,
|
||||
@Json(name = "from_device") val fromDevice: String,
|
||||
|
@ -572,7 +572,7 @@ internal class DefaultSasVerificationService @Inject constructor(
|
||||
transactionId,
|
||||
otherUserId,
|
||||
otherDeviceId)
|
||||
tx.transport = sasTransportRoomMessageFactory.createTransport(roomId, cryptoService, tx)
|
||||
tx.transport = sasTransportRoomMessageFactory.createTransport(roomId, cryptoService)
|
||||
addTransaction(tx)
|
||||
|
||||
tx.start()
|
||||
|
Loading…
Reference in New Issue
Block a user