Fixed in Chat window to add a enter when a preview picture is attached

This commit is contained in:
defnax 2022-01-16 18:44:51 +01:00
parent b13411ac45
commit 6bcecec93f

View file

@ -1698,9 +1698,11 @@ void ChatWidget::fileHashingFinished(QList<HashedFile> hashedFiles)
if (!image.isEmpty()) { if (!image.isEmpty()) {
message += QString("<img src=\"%1\">").arg(image); message += QString("<img src=\"%1\">").arg(image);
} }
}
}
message += link.toHtmlSize(); message += link.toHtmlSize();
} else {
message += "<br>" + link.toHtmlSize();
}
}
if (it != hashedFiles.end()) { if (it != hashedFiles.end()) {
message += "<BR>"; message += "<BR>";