Fix condition for enabling/disabling notification about remote sync
See https://github.com/Martchus/syncthingtray/issues/232
This commit is contained in:
parent
f4aa2b22ce
commit
df01c0538f
|
@ -207,7 +207,7 @@ void SyncthingNotifier::emitSyncComplete(CppUtilities::DateTime when, const Sync
|
|||
|
||||
// discard event if not enabled
|
||||
if (!m_initialized || (!remoteDev && (m_enabledNotifications & SyncthingHighLevelNotification::LocalSyncComplete) == 0)
|
||||
|| (remoteDev && (m_enabledNotifications & SyncthingHighLevelNotification::LocalSyncComplete) == 0)) {
|
||||
|| (remoteDev && (m_enabledNotifications & SyncthingHighLevelNotification::RemoteSyncComplete) == 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue