Default filters

This commit is contained in:
Alex Root Junior 2018-06-25 03:19:58 +03:00
parent 1ca0be538b
commit b4ecc421e4
3 changed files with 15 additions and 4 deletions

View file

@ -345,9 +345,6 @@ class Dispatcher:
:param state:
:return: decorated function
"""
if content_types is None:
content_types = ContentType.TEXT
filters_set = self.filters_factory.resolve(self.message_handlers,
*custom_filters,
commands=commands,