Switch from WAITING to CONNECTED on first sync, rather than first png.
This commit is contained in:
1 parent
2bd982fe83
commit
3b9adefa4a
1 file changed
+4
-4
@@ -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