Remove escapeHTML
This commit is contained in:
parent
3085c36718
commit
fdd1484c48
1 changed files with 1 additions and 1 deletions
2
bot.go
2
bot.go
|
|
@ -419,7 +419,7 @@ func handleNewMessage(ctx context.Context, api *tg.Client, alertPeer *tg.InputPe
|
|||
|
||||
// Build alert message with HTML formatting for markdown v2
|
||||
matchMessageHTML := fmt.Sprintf("🚨 Matched\n<b>Score</b>: %.2f\n<b>Chat</b>: %s (ID: %d)\n<b>User</b>: %s (ID: %d)\n",
|
||||
result.score, escapeMarkdown(chatName), chatID, escapeMarkdown(displayName+" ("+username+")"), senderID)
|
||||
result.score, escapeMarkdown(chatName), chatID, displayName+" ("+username+")", senderID)
|
||||
|
||||
// Send ntfy notification if config set (use plain text for ntfy)
|
||||
if cfg.NtfyToken != "" || cfg.NtfyTopic != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue