This commit is contained in:
blank X 2020-11-03 20:32:41 +07:00
parent ab330dc33b
commit f48c394134
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from .. import config, slave, log_errors, app_user_ids
logged = set() logged = set()
lock = asyncio.Lock() lock = asyncio.Lock()
@Client.on_message(filters.forwarded & (filters.chat | filters.channel)) @Client.on_message(filters.incoming & filters.forwarded & (filters.group | filters.channel))
@log_errors @log_errors
async def log_reports(client, message): async def log_reports(client, message):
if not config['config'].get('log_forwards'): if not config['config'].get('log_forwards'):