GUAC-549: Use Guacamole.Status for ack messages.

This commit is contained in:
Michael Jumper
2014-03-19 14:35:31 -07:00
parent d4a6fd21f7
commit 6a70dd5582
4 changed files with 8 additions and 14 deletions

View File

@@ -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) {