Notifications: Fix creation of notification (fixup)

For #2728
This commit is contained in:
Markus Goetz 2015-02-05 16:55:32 +01:00
parent 71e22ffe2c
commit c4cf13bd97

View file

@ -373,7 +373,7 @@ void Folder::bubbleUpSyncResult()
FolderMan::instance()->removeMonitorPath( alias(), path()+item._file );
}
if (!item.hasErrorStatus() && item._direction != SyncFileItem::None) {
if (!item.hasErrorStatus() && item._direction == SyncFileItem::Up) {
switch (item._instruction) {
case CSYNC_INSTRUCTION_NEW:
newItems++;