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") {
|
if !gw.Bridges[dest.Account].GetBool("ShowTopicChange") {
|
||||||
return brMsgIDs
|
return brMsgIDs
|
||||||
}
|
}
|
||||||
// don't relay topic/purpose update if sync is enabled, but msg marked as nosync
|
// don't relay topic/purpose update if sync is enabled
|
||||||
if gw.Bridges[dest.Account].GetBool("SyncTopic") && strings.HasSuffix(msg.Text, "[nosync]") {
|
if gw.Bridges[dest.Account].GetBool("SyncTopic") {
|
||||||
return brMsgIDs
|
return brMsgIDs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user