GUACAMOLE-422: Add timezone instruction to handshake, remove kludge from JDBC module.

This commit is contained in:
Virtually Nick
2019-03-24 21:58:38 -04:00
parent 5ac98e441c
commit d194e0754f
2 changed files with 7 additions and 9 deletions

View File

@@ -184,6 +184,13 @@ public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
"image",
info.getImageMimetypes().toArray(new String[0])
));
// Send client timezone
writer.writeInstruction(
new GuacamoleInstruction(
"timezone",
info.getTimezone()
));
// Send args
writer.writeInstruction(new GuacamoleInstruction("connect", arg_values));