mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge 663338bafa into e4d3692ac2
This commit is contained in:
commit
7d1b2196d7
2 changed files with 2 additions and 2 deletions
1
CHANGES/1724.bugfix.rst
Normal file
1
CHANGES/1724.bugfix.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Added dispatcher key to event data in `Dispatcher.feed_update`, removed redundant unpacking of `workflow_data` in `Dispatcher.start_polling`.
|
||||
|
|
@ -168,6 +168,7 @@ class Dispatcher(Router):
|
|||
**self.workflow_data,
|
||||
**kwargs,
|
||||
"bot": bot,
|
||||
"dispatcher": self,
|
||||
},
|
||||
)
|
||||
handled = response is not UNHANDLED
|
||||
|
|
@ -584,9 +585,7 @@ class Dispatcher(Router):
|
|||
)
|
||||
|
||||
workflow_data = {
|
||||
"dispatcher": self,
|
||||
"bots": bots,
|
||||
**self.workflow_data,
|
||||
**kwargs,
|
||||
}
|
||||
if "bot" in workflow_data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue