mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-28 19:57:06 +02:00
Removes experimental time from ThreadAssembler
This commit is contained in:
@@ -3,7 +3,6 @@ package com.vitorpamplona.amethyst.model
|
|||||||
import com.vitorpamplona.amethyst.service.checkNotInMainThread
|
import com.vitorpamplona.amethyst.service.checkNotInMainThread
|
||||||
import com.vitorpamplona.quartz.events.GenericRepostEvent
|
import com.vitorpamplona.quartz.events.GenericRepostEvent
|
||||||
import com.vitorpamplona.quartz.events.RepostEvent
|
import com.vitorpamplona.quartz.events.RepostEvent
|
||||||
import kotlin.time.ExperimentalTime
|
|
||||||
import kotlin.time.measureTimedValue
|
import kotlin.time.measureTimedValue
|
||||||
|
|
||||||
class ThreadAssembler {
|
class ThreadAssembler {
|
||||||
@@ -37,7 +36,6 @@ class ThreadAssembler {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
@OptIn(ExperimentalTime::class)
|
|
||||||
fun findThreadFor(noteId: String): Set<Note> {
|
fun findThreadFor(noteId: String): Set<Note> {
|
||||||
checkNotInMainThread()
|
checkNotInMainThread()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user