mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
implicitControl only if user can host.
This commit is contained in:
parent
e138b5fc27
commit
4f56d14ae3
@ -9,7 +9,7 @@
|
|||||||
:isControling="controlling"
|
:isControling="controlling"
|
||||||
:scrollSensitivity="state.control.scroll.sensitivity"
|
:scrollSensitivity="state.control.scroll.sensitivity"
|
||||||
:scrollInvert="state.control.scroll.inverse"
|
: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-request="websocket.send('control/request')"
|
||||||
@implicit-control-release="websocket.send('control/release')"
|
@implicit-control-release="websocket.send('control/release')"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user