diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index aec1dd6143994..68b620535a952 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1183,11 +1183,8 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( } } - if ((!item->isDirectory() && item->_instruction == CSYNC_INSTRUCTION_NONE) - && dbEntry._lastAccessTime != item->_lastAccessTime - && (item->_file.endsWith(QStringLiteral(".doc")) - || item->_file.endsWith(QStringLiteral(".docx")) - || item->_file.endsWith(QStringLiteral(".odt")))) + if ((item->_instruction == CSYNC_INSTRUCTION_NONE) + && dbEntry._lastAccessTime != item->_lastAccessTime) { item->_instruction = CSYNC_INSTRUCTION_UPDATE_METADATA; item->_direction = SyncFileItem::Down;