summaryrefslogtreecommitdiffstats
path: root/gateway/gateway.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r--gateway/gateway.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go
index 72a0f6a6..2b8bdfa9 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -267,8 +267,10 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
return brMsgIDs
}
- // only relay topic change when configured
- if msg.Event == config.EventTopicChange && !gw.Bridges[dest.Account].GetBool("ShowTopicChange") {
+ // only relay topic change when used in some way on other side
+ if msg.Event == config.EventTopicChange &&
+ !gw.Bridges[dest.Account].GetBool("ShowTopicChange") &&
+ !gw.Bridges[dest.Account].GetBool("SyncTopic") {
return brMsgIDs
}