mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 18:36:21 +03:00
fix error in merge
This commit is contained in:
parent
8b50fa3828
commit
e8064fa3d1
1 changed files with 0 additions and 3 deletions
|
@ -17,7 +17,6 @@ package org.matrix.android.sdk.internal.session.room.relation.threads
|
||||||
|
|
||||||
import com.zhuinden.monarchy.Monarchy
|
import com.zhuinden.monarchy.Monarchy
|
||||||
import io.realm.Realm
|
import io.realm.Realm
|
||||||
import kotlinx.coroutines.runBlocking
|
|
||||||
import org.matrix.android.sdk.api.extensions.tryOrNull
|
import org.matrix.android.sdk.api.extensions.tryOrNull
|
||||||
import org.matrix.android.sdk.api.session.crypto.CryptoService
|
import org.matrix.android.sdk.api.session.crypto.CryptoService
|
||||||
import org.matrix.android.sdk.api.session.crypto.MXCryptoError
|
import org.matrix.android.sdk.api.session.crypto.MXCryptoError
|
||||||
|
@ -136,9 +135,7 @@ internal class DefaultFetchThreadTimelineTask @Inject constructor(
|
||||||
if (!isRootThreadTimelineEventEntityKnown) {
|
if (!isRootThreadTimelineEventEntityKnown) {
|
||||||
// Fetch the root event from the server
|
// Fetch the root event from the server
|
||||||
threadRootEvent = tryOrNull {
|
threadRootEvent = tryOrNull {
|
||||||
runBlocking {
|
|
||||||
getEventTask.execute(GetEventTask.Params(roomId = params.roomId, eventId = params.rootThreadEventId))
|
getEventTask.execute(GetEventTask.Params(roomId = params.roomId, eventId = params.rootThreadEventId))
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue