fixed bug in Gxs cleaning code

This commit is contained in:
csoler 2020-12-01 14:43:23 +01:00
parent 2bb03e53d5
commit bcb43cb9a1

View File

@ -188,7 +188,7 @@ void p3PostBase::notifyChanges(std::vector<RsGxsNotify *> &changes)
case RsGxsNotify::TYPE_GROUP_DELETED: case RsGxsNotify::TYPE_GROUP_DELETED:
{ {
auto ev = std::make_shared<RsGxsPostedEvent>(); auto ev = std::make_shared<RsGxsPostedEvent>();
ev->mPostedGroupId = msgChange->mGroupId; ev->mPostedGroupId = group_id;
ev->mPostedEventCode = RsPostedEventCode::BOARD_DELETED; ev->mPostedEventCode = RsPostedEventCode::BOARD_DELETED;
rsEvents->postEvent(ev); rsEvents->postEvent(ev);