mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-11 18:29:16 -04:00
fixed update of channel list when publish permissions received
This commit is contained in:
parent
7a2985342e
commit
4ef58cce81
@ -1049,7 +1049,12 @@ int RsDataService::updateGroupKeys(const RsGxsGroupId& grpId,const RsTlvSecurity
|
||||
mDb->sqlUpdate(GRP_TABLE_NAME, "grpId='" + grpId.toStdString() + "'", cv);
|
||||
|
||||
// finish transaction
|
||||
return mDb->commitTransaction();
|
||||
bool res = mDb->commitTransaction();
|
||||
|
||||
mGrpMetaDataCache.clear(grpId);
|
||||
mGrpMetaDataCache.setCacheUpToDate(false); // this is needed because clear() doesn't do it (on purpose)
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
bool RsDataService::validSize(RsNxsGrp* grp) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user