mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-12-17 19:55:49 +00:00
final refactor, fixes and upfilling of changelog
This commit is contained in:
@@ -52,7 +52,7 @@ class EntitiesBuilder internal constructor(
|
||||
operator fun plus(sources: Iterable<TextSource>) = addAll(sources)
|
||||
|
||||
operator fun plus(other: EntitiesBuilder) = if (other == this) {
|
||||
// do nothing; assume user
|
||||
// do nothing; assume user is using something like regular("Hello, ") + bold("world") in buildEntities
|
||||
this
|
||||
} else {
|
||||
addAll(other.entitiesList)
|
||||
|
||||
Reference in New Issue
Block a user