mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
fix of testSources in TextQuote
This commit is contained in:
1 parent
f2f370e40e
commit
adede330fb
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user