mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
fix #1468
This commit is contained in:
parent
5c64612455
commit
514a2e613f
@ -58,6 +58,8 @@ const (
|
|||||||
// More draft names associated with draft/multiline:
|
// More draft names associated with draft/multiline:
|
||||||
MultilineBatchType = "draft/multiline"
|
MultilineBatchType = "draft/multiline"
|
||||||
MultilineConcatTag = "draft/multiline-concat"
|
MultilineConcatTag = "draft/multiline-concat"
|
||||||
|
// draft/relaymsg:
|
||||||
|
RelaymsgTagName = "draft/relaymsg"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -2587,7 +2587,10 @@ func relaymsgHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *
|
|||||||
// send msg
|
// send msg
|
||||||
channelName := channel.Name()
|
channelName := channel.Name()
|
||||||
relayTags := map[string]string{
|
relayTags := map[string]string{
|
||||||
"relaymsg": client.Nick(),
|
caps.RelaymsgTagName: client.Nick(),
|
||||||
|
}
|
||||||
|
for t, v := range msg.ClientOnlyTags() {
|
||||||
|
relayTags[t] = v
|
||||||
}
|
}
|
||||||
for _, member := range channel.Members() {
|
for _, member := range channel.Members() {
|
||||||
for _, session := range member.Sessions() {
|
for _, session := range member.Sessions() {
|
||||||
|
Loading…
Reference in New Issue
Block a user