Compare commits

..

1 commit

Author SHA1 Message Date
Aleksei Sidorenko
7b1e7006ee
Merge 510db89560 into 59b695ba83 2026-03-04 03:01:41 +03:00

View file

@ -8,7 +8,6 @@ import (
"encoding/json"
"errors"
"fmt"
"html"
"io"
"math/big"
"net"
@ -665,7 +664,7 @@ func (t *Tgbot) answerCommand(message *telego.Message, chatId int64, isAdmin boo
msg += t.I18nBot("tgbot.commands.help")
msg += t.I18nBot("tgbot.commands.pleaseChoose")
case "start":
msg += t.I18nBot("tgbot.commands.start", "Firstname=="+html.EscapeString(message.From.FirstName))
msg += t.I18nBot("tgbot.commands.start", "Firstname=="+message.From.FirstName)
if isAdmin {
msg += t.I18nBot("tgbot.commands.welcome", "Hostname=="+hostname)
}
@ -3403,7 +3402,7 @@ func (t *Tgbot) addClient(chatId int64, msg string, messageID ...int) {
network, _ := streamSettings["network"].(string)
security, _ := streamSettings["security"].(string)
// Strict: only TCP and only with TLS or REALITY
// Строго: только TCP и только с TLS или REALITY
if network == "tcp" && (security == "tls" || security == "reality") {
canUseFlow = true
}