This commit is contained in:
Valere 2020-01-02 15:16:45 +01:00
parent b26318f15c
commit 52c25b803f
2 changed files with 4 additions and 3 deletions

View file

@ -114,10 +114,10 @@ internal class SasTransportRoomMessage(
GlobalScope.launch(Dispatchers.Main) {
workLiveData.observeForever(observer)
}
}
override fun sendVerificationRequest(localID: String, otherUserId: String, roomId: String, callback: (String?, MessageVerificationRequestContent?) -> Unit) {
override fun sendVerificationRequest(localID: String, otherUserId: String, roomId: String,
callback: (String?, MessageVerificationRequestContent?) -> Unit) {
val info = MessageVerificationRequestContent(
body = context.getString(R.string.key_verification_request_fallback_message, userId),
fromDevice = userDevice,

View file

@ -34,7 +34,8 @@ internal class SasTransportToDevice(
private var taskExecutor: TaskExecutor
) : SasTransport {
override fun sendVerificationRequest(localID: String, otherUserId: String, roomId: String, callback: (String?, MessageVerificationRequestContent?) -> Unit) {
override fun sendVerificationRequest(localID: String, otherUserId: String, roomId: String,
callback: (String?, MessageVerificationRequestContent?) -> Unit) {
// TODO "not implemented"
}