Added to display for attached pictures in Private Chat a default icon for the rs link.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3852 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-11-22 20:10:12 +00:00
parent 7c86a88a94
commit 0b9a5e5b2b
3 changed files with 8 additions and 0 deletions

View file

@ -988,6 +988,13 @@ void PopupChatDialog::fileHashingFinished(AttachFileItem* file)
message+="\" width=\"48\" height=\"48\">";
message+="<br>";
}
else if (ext == "jpg" || ext == "jpeg" || ext == "png" || ext == "gif" || ext == "bmp" || ext == "ico"
|| ext == "svg" || ext == "tif" || ext == "tiff" || ext == "JPG")
{
message+="<img src=\":/images/application-draw.png";
message+="\" width=\"48\" height=\"48\">";
message+="<br>";
}