Add chathistory message.

This commit is contained in:
Juliusz Chroboczek
2021-07-31 14:42:26 +02:00
parent 97a5bf60ad
commit b527c8757a
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -1351,7 +1351,7 @@ func handleClientMessage(c *webClient, m clientMessage) error {
h := c.group.GetChatHistory()
for _, m := range h {
err := c.write(clientMessage{
Type: "chat",
Type: "chathistory",
Id: m.Id,
Username: m.User,
Time: m.Time,