diff --git a/src/db/main-db.cpp b/src/db/main-db.cpp index d080f42ec..012a835eb 100644 --- a/src/db/main-db.cpp +++ b/src/db/main-db.cpp @@ -496,8 +496,10 @@ MainDb::MainDb (const shared_ptr &core) : AbstractDb(*new MainDbPrivate), const long long &contentId = resolveId(row, 0); Content *content; - if (contentType == ContentType::FileTransfer) + if (contentType == ContentType::FileTransfer) { + hasFileTransferContent = true; content = new FileTransferContent(); + } else if (contentType.isFile()) { // 2.1 - Fetch contents' file informations. string name;