Commit e029cc51 authored by Ronan's avatar Ronan

fix(ChatModel): display correct file sizes on file chat messages

parent 32d52f65
......@@ -147,7 +147,7 @@ static inline void fillMessageEntry (QVariantMap &dest, const shared_ptr<linphon
shared_ptr<const linphone::Content> 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment