mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 23:02:29 -04:00
added Picture Preview Thumbnail patch for Privat Chat from xiaohan and fixed little design improvements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
09d5014df5
commit
cfc17398dd
5 changed files with 129 additions and 39 deletions
|
@ -72,6 +72,7 @@ AttachFileItem::AttachFileItem(std::string hash, std::string name, uint64_t size
|
|||
|
||||
mMode = flags & AFI_MASK_STATE;
|
||||
mType = flags & AFI_MASK_TYPE;
|
||||
mPicFlag=0;
|
||||
|
||||
if (mMode == AFI_STATE_EXTRA)
|
||||
{
|
||||
|
@ -99,6 +100,7 @@ AttachFileItem::AttachFileItem(std::string path)
|
|||
|
||||
mMode = AFI_STATE_EXTRA;
|
||||
mType = AFI_TYPE_ATTACH;
|
||||
mPicFlag=0;
|
||||
|
||||
/* ask for Files to hash/prepare it for us */
|
||||
if ((!rsFiles) || (!rsFiles->ExtraFileHash(path, AFI_DEFAULT_PERIOD, 0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue