mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +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):
|
if isinstance(item, State):
|
||||||
states.append(item.state)
|
states.append(item.state)
|
||||||
elif inspect.isclass(item) and issubclass(item, StatesGroup):
|
elif inspect.isclass(item) and issubclass(item, StatesGroup):
|
||||||
states.extend(item.all_state_names)
|
states.extend(item.all_states_names)
|
||||||
else:
|
else:
|
||||||
states.append(item)
|
states.append(item)
|
||||||
self.states = states
|
self.states = states
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue