implicitControl only if user can host.

This commit is contained in:
Miroslav Šedivý 2020-12-06 20:08:25 +01:00
parent e138b5fc27
commit 4f56d14ae3

View File

@ -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')"
/>