Archived
1

Dirty hack for academy

This commit is contained in:
Vladimir Hodakov 2017-11-29 19:28:40 +04:00
parent c65dad7727
commit 099898d991

View File

@ -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 { if !isChatValid {
switch newUsers[i].UserName { switch newUsers[i].UserName {
case "gantz_yaka": case "gantz_yaka":