mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fix of testSources in TextQuote
This commit is contained in:
parent
f2f370e40e
commit
adede330fb
@ -21,7 +21,7 @@ data class TextQuote private constructor(
|
||||
val isManual: Boolean = false
|
||||
) : TextedInput {
|
||||
override val textSources: List<TextSource> by lazy {
|
||||
entities ?.asTextSources(text) ?: emptyList()
|
||||
(entities ?: emptyList()).asTextSources(text)
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
Loading…
Reference in New Issue
Block a user