Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix wrong feature to call update_supported_encoding (#8067)

21pages3a4390e0c7a6
diff --git a/src/server/connection.rs b/src/server/connection.rs
index 1908b6bb4..2af3e58b3 100644
--- a/src/server/connection.rs
+++ b/src/server/connection.rs
@@ -695,7 +695,7 @@ impl Connection {
}
}
conn.file_remove_log_control.on_timer().drain(..).map(|x| conn.send_to_cm(x)).count();
- #[cfg(feature = "vram")]
+ #[cfg(feature = "hwcodec")]
conn.update_supported_encoding();
}
_ = test_delay_timer.tick() => {