mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Switch from WAITING to CONNECTED on first sync, rather than first png.
This commit is contained in:
@@ -832,10 +832,6 @@ Guacamole.Client = function(tunnel) {
|
|||||||
"data:image/png;base64," + data
|
"data:image/png;base64," + data
|
||||||
);
|
);
|
||||||
|
|
||||||
// If received first update, no longer waiting.
|
|
||||||
if (currentState == STATE_WAITING)
|
|
||||||
setState(STATE_CONNECTED);
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"pop": function(parameters) {
|
"pop": function(parameters) {
|
||||||
@@ -996,6 +992,10 @@ Guacamole.Client = function(tunnel) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If received first update, no longer waiting.
|
||||||
|
if (currentState == STATE_WAITING)
|
||||||
|
setState(STATE_CONNECTED);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"transfer": function(parameters) {
|
"transfer": function(parameters) {
|
||||||
|
Reference in New Issue
Block a user