diff --git a/web/service/tgbot.go b/web/service/tgbot.go index 0e5c4abb..090f282c 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -293,7 +293,7 @@ func (t *Tgbot) asnwerCallback(callbackQuery *tgbotapi.CallbackQuery, isAdmin bo t.sendCallbackAnswerTgBot(callbackQuery.ID, "ā— Error in Operation.") } case "ip_log": - t.sendCallbackAnswerTgBot(callbackQuery.ID, "āœ… %s : Get IP Log.") + t.sendCallbackAnswerTgBot(callbackQuery.ID, fmt.Sprintf("āœ… %s : Get IP Log.", email)) t.searchClientIps(callbackQuery.From.ID, email) case "toggle_enable": enabled, err := t.inboundService.ToggleClientEnableByEmail(email) @@ -583,7 +583,7 @@ func (t *Tgbot) searchClientIps(chatId int64, email string, messageID ...int) { if err != nil || len(ips) == 0 { ips = "No IP Record" } - output := fmt.Sprintf("šŸ“§ Email: %s\r\nšŸ”¢ IPs: \r\n\r\n%s\r\n", email, ips) + output := fmt.Sprintf("šŸ“§ Email: %s\r\nšŸ”¢ IPs: \r\n%s\r\n", email, ips) var inlineKeyboard = tgbotapi.NewInlineKeyboardMarkup( tgbotapi.NewInlineKeyboardRow( tgbotapi.NewInlineKeyboardButtonData("šŸ”„ Refresh", "ips_refresh "+email),