From 4f56d14ae3f0015211cb49df35882b29bafdf8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 6 Dec 2020 20:08:25 +0100 Subject: [PATCH] implicitControl only if user can host. --- src/component/main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/main.vue b/src/component/main.vue index 07d54e1f..d99272c3 100644 --- a/src/component/main.vue +++ b/src/component/main.vue @@ -9,7 +9,7 @@ :isControling="controlling" :scrollSensitivity="state.control.scroll.sensitivity" :scrollInvert="state.control.scroll.inverse" - :implicitControl="state.control.implicit_hosting" + :implicitControl="state.control.implicit_hosting && state.members[state.member_id].profile.can_host" @implicit-control-request="websocket.send('control/request')" @implicit-control-release="websocket.send('control/release')" />