mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-22 05:14:31 -04: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
1 changed files with 6 additions and 2 deletions
|
@ -863,7 +863,11 @@ bool p3Channels::locked_eventDuplicateMsg(GroupInfo *grp, RsDistribMsg *msg, con
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(mDestinationDirectories.find(grpId) != mDestinationDirectories.end())
|
||||||
|
localpath = mDestinationDirectories[grpId] ;
|
||||||
|
else
|
||||||
localpath = ""; // forces dl to default directory
|
localpath = ""; // forces dl to default directory
|
||||||
|
|
||||||
flags = RS_FILE_REQ_BACKGROUND | RS_FILE_REQ_ANONYMOUS_ROUTING;
|
flags = RS_FILE_REQ_BACKGROUND | RS_FILE_REQ_ANONYMOUS_ROUTING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue