1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-04 15:49:41 +00:00

fill changelog and change BehaviourContext updates flow subscription mechanism

This commit is contained in:
2024-06-14 17:33:51 +06:00
parent 57122cc2f9
commit 86bd5eaa07
2 changed files with 11 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ class DefaultBehaviourContext(
} else {
it
}
}.accumulatorFlow(scope)
}.accumulatorFlow(WeakScope(scope))
override val asUpdateReceiver: UpdateReceiver<Update> = additionalUpdatesSharedFlow::emit
override fun copy(