diff --git a/telegram/routines/verifier.go b/telegram/routines/verifier.go index 6bdcc0e..7ecde5f 100644 --- a/telegram/routines/verifier.go +++ b/telegram/routines/verifier.go @@ -53,7 +53,7 @@ func (v verifierRoutine) Update(botAPI *tgbotapi.BotAPI, update *tgbotapi.Update botAPI.AnswerCallbackQuery(tgbotapi.NewCallback(update.CallbackQuery.ID, "You are now verified. Welcome to the chat!")) verifyMessage := group.UserVerifiedMessage - msg := tgbotapi.NewMessage(update.CallbackQuery.Message.Chat.ID, message2.ReplaceMessage(verifyMessage, update.CallbackQuery.Message.From)) + msg := tgbotapi.NewMessage(update.CallbackQuery.Message.Chat.ID, message2.ReplaceMessage(verifyMessage, update.CallbackQuery.From)) msg.ParseMode = "Markdown" _, err := botAPI.Send(msg)