From ae46a91e0f60069cca11d921b069b0fa5f5f3b15 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Fri, 15 Mar 2019 18:32:46 -0400 Subject: [PATCH] /reply: Set reply target properly Fixes #299 --- host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/host.go b/host.go index a7a379c..0ee043f 100644 --- a/host.go +++ b/host.go @@ -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 }, })