fixed destination directory when downloading channel items in auto DL mode

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-01 12:33:54 +00:00
parent e11f60150c
commit 6914897584

View File

@ -863,7 +863,11 @@ bool p3Channels::locked_eventDuplicateMsg(GroupInfo *grp, RsDistribMsg *msg, con
}
else
{
localpath = ""; // forces dl to default directory
if(mDestinationDirectories.find(grpId) != mDestinationDirectories.end())
localpath = mDestinationDirectories[grpId] ;
else
localpath = ""; // forces dl to default directory
flags = RS_FILE_REQ_BACKGROUND | RS_FILE_REQ_ANONYMOUS_ROUTING;
}
@ -879,7 +883,7 @@ bool p3Channels::locked_eventDuplicateMsg(GroupInfo *grp, RsDistribMsg *msg, con
#endif
if(size < MAX_AUTO_DL)
mRsFiles->FileRequest(fname, hash, size, localpath, flags, srcIds);
mRsFiles->FileRequest(fname, hash, size, localpath, flags, srcIds);
}
if(lit != mReadStatus.end()){