Bugfix with MessageIDs in DM threads

ipad-testing
Noah 2023-06-24 13:47:20 -07:00
parent b19a4821e4
commit 0f270a0390
1 changed files with 5 additions and 4 deletions

View File

@ -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,
})
}
}