mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Added to check if link is valid
This commit is contained in:
parent
6bcecec93f
commit
d508a8ea20
1 changed files with 7 additions and 4 deletions
|
@ -590,10 +590,13 @@ void CreateGxsForumMsg::fileHashingFinished(QList<HashedFile> hashedFiles)
|
|||
if (!image.isEmpty()) {
|
||||
mesgString += QString("<img src=\"%1\">").arg(image);
|
||||
}
|
||||
mesgString += link.toHtmlSize() + "<br>";
|
||||
} else
|
||||
{
|
||||
mesgString += "<br>" + link.toHtmlSize() + "<br>";
|
||||
if (link.valid()) {
|
||||
mesgString += link.toHtmlSize() + "<br>";
|
||||
}
|
||||
} else {
|
||||
if (link.valid()) {
|
||||
mesgString += "<br>" + link.toHtmlSize() + "<br>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue