mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fixed update of channel list when publish permissions received
This commit is contained in:
parent
7a2985342e
commit
4ef58cce81
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue