chore(lint): format telegram channel file
This commit is contained in:
parent
f34ca8369b
commit
7b6b9c4676
1 changed files with 3 additions and 3 deletions
|
|
@ -364,9 +364,9 @@ func (c *TelegramChannel) handleMessage(ctx context.Context, message *telego.Mes
|
|||
// Defensive fallback: ignore messages from this bot by username to avoid self-loop echoes.
|
||||
if botUsername := c.bot.Username(); botUsername != "" && strings.EqualFold(user.Username, botUsername) {
|
||||
logger.DebugCF("telegram", "Ignoring self message by username", map[string]any{
|
||||
"user_id": user.ID,
|
||||
"username": user.Username,
|
||||
"bot_name": botUsername,
|
||||
"user_id": user.ID,
|
||||
"username": user.Username,
|
||||
"bot_name": botUsername,
|
||||
})
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue