diff options
| -rw-r--r-- | app/lib/backend.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 0f75d7515c..02001fa73d 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -485,6 +485,14 @@ export default class Backend extends EventEmitter { this.emit(Backend.EventType.updatedIp, ip.join('.')); } + /** + * Start reachability monitoring for online/offline detection + * This is currently done via HTML5 APIs but will be replaced later + * with proper backend integration. + * @private + * @memberOf Backend + * @emits Backend.EventType.updatedReachability + */ _startReachability() { // update online status in background setTimeout(() => { |
