Merge 27d40e276f5a032f70b8e0dc5fac097c1aebd34e into c4157a4d5b49fce79c80a30730dc7c404bacd663
This commit is contained in:
commit
00cd53150a
@ -145,6 +145,7 @@ type Protocol struct {
|
|||||||
RejoinDelay int // IRC
|
RejoinDelay int // IRC
|
||||||
ReplaceMessages [][]string // all protocols
|
ReplaceMessages [][]string // all protocols
|
||||||
ReplaceNicks [][]string // all protocols
|
ReplaceNicks [][]string // all protocols
|
||||||
|
ReplyBroadcast bool // slack
|
||||||
RemoteNickFormat string // all protocols
|
RemoteNickFormat string // all protocols
|
||||||
RunCommands []string // IRC
|
RunCommands []string // IRC
|
||||||
Server string // IRC,mattermost,XMPP,discord,matrix
|
Server string // IRC,mattermost,XMPP,discord,matrix
|
||||||
|
@ -499,6 +499,7 @@ func (b *Bslack) prepareMessageOptions(msg *config.Message) []slack.MsgOption {
|
|||||||
params.LinkNames = 1 // replace mentions
|
params.LinkNames = 1 // replace mentions
|
||||||
params.IconURL = config.GetIconURL(msg, b.GetString(iconURLConfig))
|
params.IconURL = config.GetIconURL(msg, b.GetString(iconURLConfig))
|
||||||
params.ThreadTimestamp = msg.ParentID
|
params.ThreadTimestamp = msg.ParentID
|
||||||
|
params.ReplyBroadcast = b.GetBool("ReplyBroadcast")
|
||||||
if msg.Avatar != "" {
|
if msg.Avatar != "" {
|
||||||
params.IconURL = msg.Avatar
|
params.IconURL = msg.Avatar
|
||||||
}
|
}
|
||||||
|
@ -1297,6 +1297,11 @@ ReplaceMessages=[ ["cat","dog"] ]
|
|||||||
#optional (default empty)
|
#optional (default empty)
|
||||||
ReplaceNicks=[ ["user--","user"] ]
|
ReplaceNicks=[ ["user--","user"] ]
|
||||||
|
|
||||||
|
# ReplyBroadcast indicates whether reply should be made visible to everyone in the channel or conversation.
|
||||||
|
ู# Function [] Also sent to #channel
|
||||||
|
#optional (default false)
|
||||||
|
ReplyBroadcast=false
|
||||||
|
|
||||||
#Extractnicks is used to for example rewrite messages from other relaybots
|
#Extractnicks is used to for example rewrite messages from other relaybots
|
||||||
#See https://github.com/42wim/matterbridge/issues/713 and https://github.com/42wim/matterbridge/issues/466
|
#See https://github.com/42wim/matterbridge/issues/713 and https://github.com/42wim/matterbridge/issues/466
|
||||||
#some examples:
|
#some examples:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user