Bugfix with MessageIDs in DM threads
This commit is contained in:
parent
b19a4821e4
commit
0f270a0390
|
@ -337,10 +337,11 @@ func (s *Server) SendTo(username string, msg Message) error {
|
||||||
if sub.Username == username {
|
if sub.Username == username {
|
||||||
found = true
|
found = true
|
||||||
sub.SendJSON(Message{
|
sub.SendJSON(Message{
|
||||||
Action: msg.Action,
|
Action: msg.Action,
|
||||||
Channel: msg.Channel,
|
Channel: msg.Channel,
|
||||||
Username: msg.Username,
|
Username: msg.Username,
|
||||||
Message: msg.Message,
|
Message: msg.Message,
|
||||||
|
MessageID: msg.MessageID,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user