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));
}
}
}

View File

@ -57,7 +57,6 @@
/******
* #define ID_DEBUG 1
*****/
#define ID_DEBUG 1
// Data Requests.
#define IDDIALOG_IDLIST 1