From 099898d9912eff41af9c3d3da09f77195ea3a1fd Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Wed, 29 Nov 2017 19:28:40 +0400 Subject: [PATCH] Dirty hack for academy --- lib/squader/squader.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/squader/squader.go b/lib/squader/squader.go index 62eb01f..4fa8243 100644 --- a/lib/squader/squader.go +++ b/lib/squader/squader.go @@ -471,6 +471,11 @@ func (s *Squader) ProcessMessage(update *tgbotapi.Update, chatRaw *dbmapping.Cha } } + // Dirty hack + if update.Message.Chat.ID == -1001396321727 || update.Message.Chat.ID == -1001310954317 { + isChatValid = true + } + if !isChatValid { switch newUsers[i].UserName { case "gantz_yaka":