From 1cf91982e6793d7a85662e77d27c7bc052f1736c Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 25 May 2021 09:24:02 +0300 Subject: [PATCH] fix: default updates --- aiogram/types/update.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aiogram/types/update.py b/aiogram/types/update.py index 7cf616bb..10adc7e0 100644 --- a/aiogram/types/update.py +++ b/aiogram/types/update.py @@ -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 []