mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
Oops. This method renamed.
This commit is contained in:
parent
4f0a3c607f
commit
8772518fa5
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class StateFilter(BaseFilter):
|
|||
if isinstance(item, State):
|
||||
states.append(item.state)
|
||||
elif inspect.isclass(item) and issubclass(item, StatesGroup):
|
||||
states.extend(item.all_state_names)
|
||||
states.extend(item.all_states_names)
|
||||
else:
|
||||
states.append(item)
|
||||
self.states = states
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue