summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gateway/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/handlers.go b/gateway/handlers.go
index edc2bf44..44cefe45 100644
--- a/gateway/handlers.go
+++ b/gateway/handlers.go
@@ -179,7 +179,7 @@ func (gw *Gateway) ignoreEvent(event string, dest *bridge.Bridge) bool {
}
case config.EventTopicChange:
// only relay topic change when used in some way on other side
- if dest.GetBool("ShowTopicChange") && dest.GetBool("SyncTopic") {
+ if !dest.GetBool("ShowTopicChange") && !dest.GetBool("SyncTopic") {
return true
}
}