fixed missing cache update in GxsCircles

This commit is contained in:
csoler 2020-01-28 22:53:43 +01:00
parent b6366ac5bd
commit 06be689bef
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 6 additions and 1 deletions

View file

@ -611,6 +611,12 @@ void p3GxsCircles::notifyChanges(std::vector<RsGxsNotify *> &changes)
rsEvents->postEvent(ev);
}
// reset circle from cache since the number of invitee may have changed.
{
RsStackMutex stack(mCircleMtx); /********** STACK LOCKED MTX ******/
mCircleCache.erase(RsGxsCircleId(*git));
}
}
}