mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-07-02 11:44:31 +02:00
parent
22e714a5ad
commit
47607af729
1
host.go
1
host.go
@ -292,6 +292,7 @@ func (h *Host) InitCommands(c *chat.Commands) {
|
|||||||
txt := fmt.Sprintf("[Sent PM to %s]", target.Name())
|
txt := fmt.Sprintf("[Sent PM to %s]", target.Name())
|
||||||
ms := message.NewSystemMsg(txt, msg.From())
|
ms := message.NewSystemMsg(txt, msg.From())
|
||||||
room.Send(ms)
|
room.Send(ms)
|
||||||
|
target.SetReplyTo(msg.From())
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user