mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-04 07:39:39 +00:00
improvements in copying of behaviour contexts
This commit is contained in:
@@ -123,6 +123,7 @@ class DefaultBehaviourContext(
|
|||||||
onBufferOverflow = onBufferOverflow,
|
onBufferOverflow = onBufferOverflow,
|
||||||
upstreamUpdatesFlow = upstreamUpdatesFlow,
|
upstreamUpdatesFlow = upstreamUpdatesFlow,
|
||||||
triggersHolder = triggersHolder,
|
triggersHolder = triggersHolder,
|
||||||
|
data = BehaviourContextData().apply { include(this@DefaultBehaviourContext.data) },
|
||||||
subcontextInitialAction = subcontextInitialAction
|
subcontextInitialAction = subcontextInitialAction
|
||||||
).apply {
|
).apply {
|
||||||
data.include(this@DefaultBehaviourContext.data)
|
data.include(this@DefaultBehaviourContext.data)
|
||||||
|
Reference in New Issue
Block a user