fix: default updates

This commit is contained in:
Oleg A 2021-05-25 09:24:02 +03:00
parent 0e28756a10
commit 1cf91982e6

View file

@ -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 []