mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
Add relayed messages to channel history
This commit is contained in:
parent
4ecd7fdf43
commit
efd3152bfb
@ -2327,7 +2327,11 @@ func relaymsgHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: add to history here??
|
channel.AddHistoryItem(history.Item{
|
||||||
|
Type: history.Privmsg,
|
||||||
|
Message: message,
|
||||||
|
Nick: nick,
|
||||||
|
}, "")
|
||||||
|
|
||||||
// send msg
|
// send msg
|
||||||
for _, member := range channel.Members() {
|
for _, member := range channel.Members() {
|
||||||
|
Loading…
Reference in New Issue
Block a user