mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
fixed auto DL for own channels. Apparently the channel status is missing for this special case.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6121e613eb
commit
72da514e0a
2 changed files with 6 additions and 6 deletions
|
@ -707,12 +707,13 @@ bool p3Channels::channelGetAutoDl(const std::string& chId, bool& autoDl)
|
|||
statMap::iterator it = mChannelStatus.find(chId);
|
||||
|
||||
if(it != mChannelStatus.end())
|
||||
{
|
||||
autoDl = it->second & RS_CHAN_STATUS_AUTO_DL;
|
||||
return true;
|
||||
else // create the entry. No particular risk with that.
|
||||
{
|
||||
mChannelStatus[chId] = 0 ;
|
||||
autoDl = false ;
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/***************************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue