mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 03:38:43 +03:00
Fix / Use transport to start verification
This commit is contained in:
parent
e71ad0e515
commit
62f0c6edc0
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue