disable-group-panel for https://github.com/rustdesk/rustdesk-server-pro/issues/250
This commit is contained in:
parent
e8d02905fe
commit
df74a38b90
5 changed files with 15 additions and 3 deletions
|
|
@ -2,7 +2,8 @@ use crate::{
|
|||
client::file_trait::FileManager,
|
||||
common::{is_keyboard_mode_supported, make_fd_to_json},
|
||||
flutter::{
|
||||
self, session_add, session_add_existed, session_start_, sessions, try_sync_peer_option, FlutterHandler,
|
||||
self, session_add, session_add_existed, session_start_, sessions, try_sync_peer_option,
|
||||
FlutterHandler,
|
||||
},
|
||||
input::*,
|
||||
ui_interface::{self, *},
|
||||
|
|
@ -1905,6 +1906,10 @@ pub fn is_disable_account() -> SyncReturn<bool> {
|
|||
SyncReturn(config::is_disable_account())
|
||||
}
|
||||
|
||||
pub fn is_disable_group_panel() -> SyncReturn<bool> {
|
||||
SyncReturn(LocalConfig::get_option("disable-group-panel") == "Y")
|
||||
}
|
||||
|
||||
// windows only
|
||||
pub fn is_disable_installation() -> SyncReturn<bool> {
|
||||
SyncReturn(config::is_disable_installation())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue