From 7c0478d7f4b90de3e4930b57538e9ff395287691 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Wed, 20 Aug 2025 02:38:35 +0200 Subject: [PATCH] clashsub: fix tuic missing data #738 --- sub/clashService.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sub/clashService.go b/sub/clashService.go index d939cce..6dcf7b4 100644 --- a/sub/clashService.go +++ b/sub/clashService.go @@ -132,6 +132,12 @@ func (s *ClashService) ConvertToClashMeta(outbounds *[]map[string]interface{}) ( proxy["flow"] = flow } } + if t == "tuic" { + proxy["password"] = obMap["password"] + if congestion_control, ok := obMap["congestion_control"].(string); ok { + proxy["congestion-controller"] = congestion_control + } + } case "trojan": proxy["password"] = obMap["password"] case "socks", "http":