/reply: Set reply target properly

Fixes #299
This commit is contained in:
Andrey Petrov 2019-03-15 18:32:46 -04:00
parent 0b06b56c0e
commit ae46a91e0f

View File

@ -336,6 +336,7 @@ func (h *Host) InitCommands(c *chat.Commands) {
txt := fmt.Sprintf("[Sent PM to %s]", name)
ms := message.NewSystemMsg(txt, msg.From())
room.Send(ms)
target.SetReplyTo(msg.From())
return nil
},
})