From 516052fd164dd16ed669915377e2b363c347eb29 Mon Sep 17 00:00:00 2001 From: pypy Date: Sun, 12 Jan 2020 22:09:45 +0900 Subject: [PATCH] bugfix --- html/app.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/html/app.js b/html/app.js index e994715f..1320b829 100644 --- a/html/app.js +++ b/html/app.js @@ -2688,6 +2688,14 @@ CefSharp.BindObjectAsync( break; case 'friend-online': + if (content.location !== 'private') { + this.$emit('WORLD', { + json: content.world, + params: { + worldId: content.world.id + } + }); + } this.$emit('USER', { json: { location: content.location, @@ -2745,7 +2753,7 @@ CefSharp.BindObjectAsync( break; case 'friend-location': - if (content.world) { + if (content.location !== 'private') { this.$emit('WORLD', { json: content.world, params: {