mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +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
|
||||
);
|
||||
|
||||
// If received first update, no longer waiting.
|
||||
if (currentState == STATE_WAITING)
|
||||
setState(STATE_CONNECTED);
|
||||
|
||||
},
|
||||
|
||||
"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) {
|
||||
|
Reference in New Issue
Block a user