Update: add fixme for router registry

This commit is contained in:
Kirill Samoylenkov 2025-10-24 17:10:29 +05:00
parent c690226d8a
commit dcc315b30a

View file

@ -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,