From 48db6266720de2c6ff50c93312adfef75c5744a2 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Tue, 29 Jun 2021 15:19:43 -0500 Subject: [PATCH] Accept IM_ROOM_PARTICIPANTS without user_names --- application/Server.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/Server.cpp b/application/Server.cpp index b329038..619b349 100644 --- a/application/Server.cpp +++ b/application/Server.cpp @@ -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;