diff --git a/syncthingconnector/syncthingnotifier.cpp b/syncthingconnector/syncthingnotifier.cpp index 2c0f767..ef02bea 100644 --- a/syncthingconnector/syncthingnotifier.cpp +++ b/syncthingconnector/syncthingnotifier.cpp @@ -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; }