mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: default updates
This commit is contained in:
parent
0e28756a10
commit
1cf91982e6
1 changed files with 1 additions and 3 deletions
|
|
@ -76,7 +76,5 @@ class AllowedUpdates(helper.Helper):
|
|||
)
|
||||
|
||||
@classmethod
|
||||
@lru_cache(1)
|
||||
def default(cls):
|
||||
excluded = cls.CHAT_MEMBER + cls.MY_CHAT_MEMBER
|
||||
return list(filter(lambda item: item not in excluded, cls.all()))
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue