Accept IM_ROOM_PARTICIPANTS without user_names
This commit is contained in:
parent
41b6164bbc
commit
48db626672
|
@ -356,9 +356,8 @@ Server::ImMessage(BMessage* msg)
|
|||
for (int i = 0; i < ids.CountStrings(); i++) {
|
||||
User* user = _EnsureUser(ids.StringAt(i), protoLooper);
|
||||
|
||||
if (name.CountStrings() >= i) {
|
||||
if (name.CountStrings() >= i && !name.StringAt(i).IsEmpty())
|
||||
user->SetNotifyName(name.StringAt(i));
|
||||
}
|
||||
chat->AddUser(user);
|
||||
}
|
||||
break;
|
||||
|
|
Ŝarĝante…
Reference in New Issue