mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
fixed bug causing failure of flag actions on groups
This commit is contained in:
parent
ed81b4cac6
commit
506190a64b
@ -2076,7 +2076,7 @@ bool RsGenExchange::processGrpMask(const RsGxsGroupId& grpId, ContentValue &grpC
|
|||||||
// first find out which mask is involved
|
// first find out which mask is involved
|
||||||
int32_t value, mask, currValue;
|
int32_t value, mask, currValue;
|
||||||
std::string key;
|
std::string key;
|
||||||
RsGxsGrpMetaData* grpMeta = NULL;
|
const RsGxsGrpMetaData* grpMeta = NULL;
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
|
|
||||||
RsGxsGrpMetaTemporaryMap grpMetaMap;
|
RsGxsGrpMetaTemporaryMap grpMetaMap;
|
||||||
@ -2087,7 +2087,8 @@ bool RsGenExchange::processGrpMask(const RsGxsGroupId& grpId, ContentValue &grpC
|
|||||||
|
|
||||||
if((mit = grpMetaMap.find(grpId)) != grpMetaMap.end())
|
if((mit = grpMetaMap.find(grpId)) != grpMetaMap.end())
|
||||||
{
|
{
|
||||||
const RsGxsGrpMetaData *grpMeta = mit->second;
|
grpMeta = mit->second;
|
||||||
|
|
||||||
if (!grpMeta)
|
if (!grpMeta)
|
||||||
{
|
{
|
||||||
#ifdef GEN_EXCH_DEBUG
|
#ifdef GEN_EXCH_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user