mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix(ChatModel): display correct file sizes on file chat messages
This commit is contained in:
parent
32d52f65ea
commit
e029cc51ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue