fix: update star_handlers_registry iteration in TelegramPlatformAdapter
This commit is contained in:
1 parent
c501728204
commit
52a4c986a8
1 file changed
+1
-1
@@ -144,7 +144,7 @@ class TelegramPlatformAdapter(Platform):
|
||||
command_dict = {}
|
||||
skip_commands = {"start"}
|
||||
|
||||
for handler_md in star_handlers_registry._handlers:
|
||||
for handler_md in star_handlers_registry:
|
||||
handler_metadata = handler_md
|
||||
if not star_map[handler_metadata.handler_module_path].activated:
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user