NSCv3: force http load on connect (sometimes onDisconnect is not called)
This commit is contained in:
parent
770ad1c4b8
commit
6de44f9675
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ class NSClientV3Service : DaggerService() {
|
|||
rxBus.send(EventNSClientNewLog("◄ WS", "Subscribed for: ${response.optString("collections")}"))
|
||||
// during disconnection updated data is not received
|
||||
// thus run non WS load to get missing data
|
||||
nsClientV3Plugin.executeLoop("WS_CONNECT", forceNew = false)
|
||||
nsClientV3Plugin.initialLoadFinished = false
|
||||
nsClientV3Plugin.executeLoop("WS_CONNECT", forceNew = true)
|
||||
true
|
||||
} else {
|
||||
rxBus.send(EventNSClientNewLog("◄ WS", "Auth failed"))
|
||||
|
|
Loading…
Reference in a new issue