From d60713bafbf9837474dec617eca99bbdb64f6ba4 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Wed, 8 Jul 2020 12:52:45 +0400
Subject: [PATCH] Removed chat restrictions.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 src/actions/students.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/actions/students.py b/src/actions/students.py
index ff592ae..34497fa 100644
--- a/src/actions/students.py
+++ b/src/actions/students.py
@@ -7,7 +7,7 @@ from telethon import events
 logger = logging.getLogger(__name__)
 
 
-@config.telegram_client.on(events.NewMessage(pattern="^.course$", chats=[404140020]))
+@config.telegram_client.on(events.NewMessage(pattern="^.course$"))
 @mark_unread
 async def course_info(event: events.NewMessage.Event):
     participant = event.message.from_id
-- 
GitLab