added notification for modified metadata in group. Does not yet work on friends though.

This commit is contained in:
csoler 2016-02-23 23:04:04 -05:00
parent b8c42a9eb7
commit f5eb791230

View File

@ -2942,6 +2942,18 @@ void RsGenExchange::performUpdateValidation()
} }
mDataStore->updateGroup(grps); mDataStore->updateGroup(grps);
// notify the client
RsGxsGroupChange* c = new RsGxsGroupChange(RsGxsNotify::TYPE_RECEIVE, true);
for(uint32_t i=0;i<mGroupUpdates.size();++i)
c->mGrpIdList.push_back(mGroupUpdates[i].oldGrpMeta->mGroupId) ;
mNotifications.push_back(c);
// cleanup
mGroupUpdates.clear(); mGroupUpdates.clear();
} }