浏览代码

Merge pull request #1726 from zxlhhyccc/custom

luci-app-ssr-plus: Add `SS` version options for `sip008` and `ssd`.
zxl hhyccc 5 月之前
父节点
当前提交
9f6cf057a9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua

+ 2 - 0
luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua

@@ -419,6 +419,7 @@ local function processData(szType, content)
 	elseif szType == "sip008" then
 		result.type = v2_ss
 		result.v2ray_protocol = (v2_ss == "v2ray") and "shadowsocks" or nil
+		result.has_ss_type = has_ss_type
 		result.server = content.server
 		result.server_port = content.server_port
 		result.password = content.password
@@ -432,6 +433,7 @@ local function processData(szType, content)
 	elseif szType == "ssd" then
 		result.type = v2_ss
 		result.v2ray_protocol = (v2_ss == "v2ray") and "shadowsocks" or nil
+		result.has_ss_type = has_ss_type
 		result.server = content.server
 		result.server_port = content.port
 		result.password = content.password