mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
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:
parent
e11f60150c
commit
6914897584
@ -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()){
|
||||
|
Loading…
Reference in New Issue
Block a user