generated from geekiot/python-template
Update: add fixme for router registry
This commit is contained in:
parent
c690226d8a
commit
dcc315b30a
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,8 @@ class RouterRegistry:
|
|||
self._handlers.append(meta)
|
||||
|
||||
if is_callback:
|
||||
# FIXME: Add non-command option for callbacks.
|
||||
# Can be usefull for a callback templates.
|
||||
self._router.callback_query.register(
|
||||
func,
|
||||
*filters,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue