mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed: Room's participants list is correctly refreshed. Previously it did not react to new participants in room
This commit is contained in:
parent
27774baf5d
commit
0f93dd2f9e
@ -266,7 +266,8 @@ void ChatHandler::tick()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
LobbyParticipantsInfo& pi = mit->second;
|
LobbyParticipantsInfo& pi = mit->second;
|
||||||
if(!std::equal(pi.participants.begin(), pi.participants.end(), info.gxs_ids.begin()))
|
if(!std::equal(pi.participants.begin(), pi.participants.end(), info.gxs_ids.begin())
|
||||||
|
|| pi.participants.size() != info.gxs_ids.size())
|
||||||
{
|
{
|
||||||
pi.participants = info.gxs_ids;
|
pi.participants = info.gxs_ids;
|
||||||
mStateTokenServer->replaceToken(pi.state_token);
|
mStateTokenServer->replaceToken(pi.state_token);
|
||||||
|
Loading…
Reference in New Issue
Block a user