diff --git a/pkg/websocket.go b/pkg/websocket.go index 67b210c..0f070ed 100644 --- a/pkg/websocket.go +++ b/pkg/websocket.go @@ -337,10 +337,11 @@ func (s *Server) SendTo(username string, msg Message) error { if sub.Username == username { found = true sub.SendJSON(Message{ - Action: msg.Action, - Channel: msg.Channel, - Username: msg.Username, - Message: msg.Message, + Action: msg.Action, + Channel: msg.Channel, + Username: msg.Username, + Message: msg.Message, + MessageID: msg.MessageID, }) } }