lint
This commit is contained in:
parent
24456e3c5d
commit
5282d9082a
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ class NSClientV3Plugin @Inject constructor(
|
||||||
it.put("accessToken", sp.getString(R.string.key_ns_client_token, ""))
|
it.put("accessToken", sp.getString(R.string.key_ns_client_token, ""))
|
||||||
}
|
}
|
||||||
rxBus.send(EventNSClientNewLog("► WS", "requesting auth for alarms"))
|
rxBus.send(EventNSClientNewLog("► WS", "requesting auth for alarms"))
|
||||||
socket?.emit("subscribe", authMessage, Ack { args ->
|
socket.emit("subscribe", authMessage, Ack { args ->
|
||||||
val response = args[0] as JSONObject
|
val response = args[0] as JSONObject
|
||||||
wsConnected = if (response.optBoolean("success")) {
|
wsConnected = if (response.optBoolean("success")) {
|
||||||
rxBus.send(EventNSClientNewLog("◄ WS", response.optString("message")))
|
rxBus.send(EventNSClientNewLog("◄ WS", response.optString("message")))
|
||||||
|
|
Loading…
Reference in a new issue