mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-05-11 22:51:22 +08:00
[fix] do not show stream window if the client is only in server mode
This commit is contained in:
@@ -311,7 +311,8 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char *user_id,
|
|||||||
if (ConnectionStatus::Connecting == status) {
|
if (ConnectionStatus::Connecting == status) {
|
||||||
} else if (ConnectionStatus::Gathering == status) {
|
} else if (ConnectionStatus::Gathering == status) {
|
||||||
} else if (ConnectionStatus::Connected == status) {
|
} else if (ConnectionStatus::Connected == status) {
|
||||||
if (!render->need_to_create_stream_window_) {
|
if (!render->need_to_create_stream_window_ &&
|
||||||
|
!render->client_properties_.empty()) {
|
||||||
render->need_to_create_stream_window_ = true;
|
render->need_to_create_stream_window_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
Submodule thirdparty/projectx updated: f48d940b80...d40ca8814c
Reference in New Issue
Block a user