send motd after chat history so it's more visible
This commit is contained in:
@@ -189,8 +189,8 @@ export default class WSServer {
|
|||||||
}
|
}
|
||||||
client.connectedToNode = true;
|
client.connectedToNode = true;
|
||||||
client.sendMsg(guacutils.encode("connect", "1", "1", "1", "0"));
|
client.sendMsg(guacutils.encode("connect", "1", "1", "1", "0"));
|
||||||
if (this.Config.collabvm.motd) client.sendMsg(guacutils.encode("chat", "", this.Config.collabvm.motd));
|
|
||||||
if (this.ChatHistory.size !== 0) client.sendMsg(this.getChatHistoryMsg());
|
if (this.ChatHistory.size !== 0) client.sendMsg(this.getChatHistoryMsg());
|
||||||
|
if (this.Config.collabvm.motd) client.sendMsg(guacutils.encode("chat", "", this.Config.collabvm.motd));
|
||||||
client.sendMsg(guacutils.encode("size", "0", this.VM.framebuffer.width.toString(), this.VM.framebuffer.height.toString()));
|
client.sendMsg(guacutils.encode("size", "0", this.VM.framebuffer.width.toString(), this.VM.framebuffer.height.toString()));
|
||||||
var jpg = this.VM.framebuffer.toBuffer("image/jpeg");
|
var jpg = this.VM.framebuffer.toBuffer("image/jpeg");
|
||||||
var jpg64 = jpg.toString("base64");
|
var jpg64 = jpg.toString("base64");
|
||||||
|
|||||||
Reference in New Issue
Block a user