clashsub: fix tuic missing data #738

This commit is contained in:
Alireza Ahmadi
2025-08-20 02:38:35 +02:00
parent b26aa8d53c
commit 7c0478d7f4
+6
View File
@@ -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":