Commit 360b7ffe authored by Lisa (AI Assistant)'s avatar Lisa (AI Assistant)

Fix: Use 'android-node' as client ID constant

parent cbdc90b9
...@@ -365,8 +365,8 @@ class NodeClient() { ...@@ -365,8 +365,8 @@ class NodeClient() {
put("minProtocol", 3) put("minProtocol", 3)
put("maxProtocol", 3) put("maxProtocol", 3)
put("client", JSONObject().apply { put("client", JSONObject().apply {
put("id", deviceId) // Use device ID as client ID put("id", "android-node") // Must be "android-node" constant
put("displayName", nodeId) put("displayName", nodeId.ifBlank { "Android Node" })
put("version", "1.0.0") put("version", "1.0.0")
put("platform", "android") put("platform", "android")
put("mode", "node") put("mode", "node")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment