This commit is contained in:
rustdesk 2021-08-04 15:30:47 +08:00
parent eb76f7cecc
commit 646b11a3ae

View File

@ -815,7 +815,7 @@ impl Connection {
self.disable_audio = q == BoolOption::Yes; self.disable_audio = q == BoolOption::Yes;
if let Some(s) = self.server.upgrade() { if let Some(s) = self.server.upgrade() {
s.write().unwrap().subscribe( s.write().unwrap().subscribe(
NAME_CURSOR, super::audio_service::NAME,
self.inner.clone(), self.inner.clone(),
self.audio_enabled(), self.audio_enabled(),
); );
@ -827,7 +827,7 @@ impl Connection {
self.disable_clipboard = q == BoolOption::Yes; self.disable_clipboard = q == BoolOption::Yes;
if let Some(s) = self.server.upgrade() { if let Some(s) = self.server.upgrade() {
s.write().unwrap().subscribe( s.write().unwrap().subscribe(
NAME_CURSOR, super::clipboard_service::NAME,
self.inner.clone(), self.inner.clone(),
self.clipboard_enabled() && self.keyboard, self.clipboard_enabled() && self.keyboard,
); );