diff --git a/libresapi/src/api/ChatHandler.cpp b/libresapi/src/api/ChatHandler.cpp index 1a8add8d7..1a5fd6e6c 100644 --- a/libresapi/src/api/ChatHandler.cpp +++ b/libresapi/src/api/ChatHandler.cpp @@ -266,7 +266,8 @@ void ChatHandler::tick() else { 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; mStateTokenServer->replaceToken(pi.state_token);