mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-04-18 13:35:56 +00:00
Update web/service/tgbot.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
510db89560
commit
ee920322be
1 changed files with 1 additions and 1 deletions
|
|
@ -3402,7 +3402,7 @@ func (t *Tgbot) addClient(chatId int64, msg string, messageID ...int) {
|
||||||
network, _ := streamSettings["network"].(string)
|
network, _ := streamSettings["network"].(string)
|
||||||
security, _ := streamSettings["security"].(string)
|
security, _ := streamSettings["security"].(string)
|
||||||
|
|
||||||
// Строго: только TCP и только с TLS или REALITY
|
// Strict: only TCP and only with TLS or REALITY
|
||||||
if network == "tcp" && (security == "tls" || security == "reality") {
|
if network == "tcp" && (security == "tls" || security == "reality") {
|
||||||
canUseFlow = true
|
canUseFlow = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue