mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
commit
fd915553e3
@ -1,5 +1,14 @@
|
||||
# TelegramBotAPI changelog
|
||||
|
||||
## 0.34.1
|
||||
|
||||
* `Common`:
|
||||
* `Version`:
|
||||
* `ktor`: `1.5.3` -> `1.5.4`
|
||||
* `MicroUtils`: `0.4.35` -> `0.4.36`
|
||||
* `Core`
|
||||
* Fix in creating of text sources list
|
||||
|
||||
## 0.34.0
|
||||
|
||||
**UPDATE UP TO Telegram Bot API 5.2**
|
||||
|
@ -10,13 +10,13 @@ kotlin_coroutines_version=1.4.3
|
||||
kotlin_serialisation_runtime_version=1.1.0
|
||||
klock_version=2.0.7
|
||||
uuid_version=0.2.4
|
||||
ktor_version=1.5.3
|
||||
ktor_version=1.5.4
|
||||
|
||||
micro_utils_version=0.4.35
|
||||
micro_utils_version=0.4.36
|
||||
|
||||
javax_activation_version=1.1.1
|
||||
|
||||
library_group=dev.inmo
|
||||
library_version=0.34.0
|
||||
library_version=0.34.1
|
||||
|
||||
github_release_plugin_version=2.2.12
|
||||
|
@ -59,7 +59,7 @@ internal fun List<TextSource>.fillWithRegulars(source: String): List<TextSource>
|
||||
val textSource = get(i)
|
||||
val thisSourceInStart = source.startsWith(textSource.source, index)
|
||||
if (!thisSourceInStart) {
|
||||
val regularEndIndex = source.indexOf(textSource.source)
|
||||
val regularEndIndex = source.indexOf(textSource.source, index)
|
||||
result.add(regular(source.substring(index, regularEndIndex)))
|
||||
index = regularEndIndex
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user