Fix missing implem
This commit is contained in:
parent
7d9330b2ee
commit
1a1f6810e2
|
@ -238,6 +238,6 @@ internal class RustCrossSigningService @Inject constructor(
|
||||||
|
|
||||||
override fun checkOtherMSKTrusted(myCrossSigningInfo: MXCrossSigningInfo?, otherInfo: MXCrossSigningInfo?): UserTrustResult {
|
override fun checkOtherMSKTrusted(myCrossSigningInfo: MXCrossSigningInfo?, otherInfo: MXCrossSigningInfo?): UserTrustResult {
|
||||||
// is this needed in rust? should be moved to internal API?
|
// is this needed in rust? should be moved to internal API?
|
||||||
TODO()
|
UserTrustResult.Failure("Not used in rust")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,12 +241,8 @@ class DefaultNavigator @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context is AppCompatActivity) {
|
if (context is AppCompatActivity) {
|
||||||
TODO()
|
SelfVerificationBottomSheet.forTransaction(tx.transactionId)
|
||||||
// VerificationBottomSheet.withArgs(
|
.show(context.supportFragmentManager, "VERIF")
|
||||||
// roomId = null,
|
|
||||||
// otherUserId = otherUserId,
|
|
||||||
// transactionId = sasTransactionId
|
|
||||||
// ).show(context.supportFragmentManager, "REQPOP")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -254,16 +250,14 @@ class DefaultNavigator @Inject constructor(
|
||||||
override fun requestSessionVerification(context: Context, otherSessionId: String) {
|
override fun requestSessionVerification(context: Context, otherSessionId: String) {
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
val session = sessionHolder.getSafeActiveSession() ?: return@launch
|
val session = sessionHolder.getSafeActiveSession() ?: return@launch
|
||||||
// val pr =
|
val request = session.cryptoService().verificationService().requestDeviceVerification(
|
||||||
session.cryptoService().verificationService().requestSelfKeyVerification(
|
supportedVerificationMethodsProvider.provide(),
|
||||||
supportedVerificationMethodsProvider.provide()
|
session.myUserId,
|
||||||
|
otherSessionId
|
||||||
)
|
)
|
||||||
if (context is AppCompatActivity) {
|
if (context is AppCompatActivity) {
|
||||||
TODO()
|
SelfVerificationBottomSheet.forTransaction(request.transactionId)
|
||||||
// VerificationBottomSheet.withArgs(
|
.show(context.supportFragmentManager, "VERIF")
|
||||||
// otherUserId = session.myUserId,
|
|
||||||
// transactionId = pr.requestId()
|
|
||||||
// ).show(context.supportFragmentManager)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue