mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUAC-549: Use Guacamole.Status for ack messages.
This commit is contained in:
@@ -564,7 +564,7 @@ Guacamole.Client = function(tunnel) {
|
||||
|
||||
// Signal ack if handler defined
|
||||
if (stream.onack)
|
||||
stream.onack(reason, code);
|
||||
stream.onack(new Guacamole.Status(code, reason));
|
||||
|
||||
// If code is an error, invalidate stream
|
||||
if (code >= 0x0100) {
|
||||
|
Reference in New Issue
Block a user