From b2546770f09ec7b5733034d571217873ec06fd10 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Wed, 8 Jul 2020 03:49:18 +0400
Subject: [PATCH] Fixed students filtering.

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

diff --git a/src/actions/students.py b/src/actions/students.py
index 586baf2..ff592ae 100644
--- a/src/actions/students.py
+++ b/src/actions/students.py
@@ -7,9 +7,7 @@ from telethon import events
 logger = logging.getLogger(__name__)
 
 
-@config.telegram_client.on(
-    events.NewMessage(pattern="^.course$", chats=["Стажировка SimbirSoft"])
-)
+@config.telegram_client.on(events.NewMessage(pattern="^.course$", chats=[404140020]))
 @mark_unread
 async def course_info(event: events.NewMessage.Event):
     participant = event.message.from_id
-- 
GitLab