mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-15 08:30:36 +03:00
parent
0b06b56c0e
commit
ae46a91e0f
1
host.go
1
host.go
@ -336,6 +336,7 @@ func (h *Host) InitCommands(c *chat.Commands) {
|
|||||||
txt := fmt.Sprintf("[Sent PM to %s]", name)
|
txt := fmt.Sprintf("[Sent PM to %s]", 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