fix last message text if file #LINQT-1976
This commit is contained in:
parent
a3996fc33c
commit
f8119e607d
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ QString ToolModel::getMessageFromContent(std::list<std::shared_ptr<linphone::Con
|
|||
for (auto &content : contents) {
|
||||
if (content->isText()) {
|
||||
return Utils::coreStringToAppString(content->getUtf8Text());
|
||||
} else if (content->isFile()) {
|
||||
} else if (content->isFile() || content->isFileTransfer() || content->isFileEncrypted()) {
|
||||
if (res.isEmpty()) res.append(Utils::coreStringToAppString(content->getName()));
|
||||
else res.append(", " + Utils::coreStringToAppString(content->getName()));
|
||||
} else if (content->isIcalendar()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue