Renamed flag to SyncTopic.

This commit is contained in:
Patrick Connolly
2018-11-15 15:50:37 +08:00
parent 95cf8c11d5
commit 009aa60264
4 changed files with 4 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ type Protocol struct {
ShowEmbeds bool // discord
SkipTLSVerify bool // IRC, mattermost
StripNick bool // all protocols
SyncTopicChange bool // slack
SyncTopic bool // slack
Team string // mattermost
Token string // gitter, slack, discord, api
Topic string // zulip

View File

@@ -326,7 +326,7 @@ func (b *Bslack) updateTopicOrPurpose(msg *config.Message, channelInfo *slack.Ch
return false, nil
}
if !b.GetBool("SyncTopicChange") {
if !b.GetBool("SyncTopic") {
return false, nil
}