fix ShowTopicChange

This commit is contained in:
Lucas Druschke
2020-04-11 19:50:28 +02:00
parent 976fbcd07f
commit 5781763a37

View File

@@ -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
}
}