diff --git a/src/components/chat/ChatModel.cpp b/src/components/chat/ChatModel.cpp index 65ac8d345..6c5e75ddf 100644 --- a/src/components/chat/ChatModel.cpp +++ b/src/components/chat/ChatModel.cpp @@ -147,7 +147,7 @@ static inline void fillMessageEntry (QVariantMap &dest, const shared_ptr content = message->getFileTransferInformation(); if (content) { - dest["fileSize"] = quint64(content->getSize()); + dest["fileSize"] = quint64(content->getFileSize()); dest["fileName"] = Utils::coreStringToAppString(content->getName()); dest["wasDownloaded"] = ::fileWasDownloaded(message);