Update web/service/tgbot.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Sanaei 2026-03-04 12:18:38 +01:00 committed by GitHub
parent 510db89560
commit ee920322be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3402,7 +3402,7 @@ func (t *Tgbot) addClient(chatId int64, msg string, messageID ...int) {
network, _ := streamSettings["network"].(string)
security, _ := streamSettings["security"].(string)
// Строго: только TCP и только с TLS или REALITY
// Strict: only TCP and only with TLS or REALITY
if network == "tcp" && (security == "tls" || security == "reality") {
canUseFlow = true
}