From 338268e32fa71cc32784ccef9b53be5f9958c637 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Wed, 29 Nov 2017 16:36:06 +0400 Subject: [PATCH] Weird typo fix --- lib/welcomer/responders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/welcomer/responders.go b/lib/welcomer/responders.go index f8108f5..0b8ee71 100644 --- a/lib/welcomer/responders.go +++ b/lib/welcomer/responders.go @@ -52,7 +52,7 @@ func (w *Welcomer) GroupWelcomeMessage(update *tgbotapi.Update) string { if (newUser.UserName == "i2_bot") || (newUser.UserName == "i2_dev_bot") { w.groupStartMessage(update) } else { - defaultGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.HeadquartersID, 10, 64) + defaultGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.DefaultID, 10, 64) bastionGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.BastionID, 10, 64) if update.Message.Chat.ID == defaultGroupID {