Review: Removed last vestigate of nosync.
This commit is contained in:
@@ -273,8 +273,8 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
|
||||
if !gw.Bridges[dest.Account].GetBool("ShowTopicChange") {
|
||||
return brMsgIDs
|
||||
}
|
||||
// don't relay topic/purpose update if sync is enabled, but msg marked as nosync
|
||||
if gw.Bridges[dest.Account].GetBool("SyncTopic") && strings.HasSuffix(msg.Text, "[nosync]") {
|
||||
// don't relay topic/purpose update if sync is enabled
|
||||
if gw.Bridges[dest.Account].GetBool("SyncTopic") {
|
||||
return brMsgIDs
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user