diff --git a/application/Conversation.cpp b/application/Conversation.cpp index 67b6a3f..1c4da80 100644 --- a/application/Conversation.cpp +++ b/application/Conversation.cpp @@ -390,9 +390,10 @@ Conversation::_EnsureUser(BMessage* msg) fLooper->AddUser(user); fUsers.AddItem(id, user); GetView()->UpdateUserList(fUsers); + } - if (name.IsEmpty() == false) - user->SetNotifyName(name); + if (name.IsEmpty() == false) { + user->SetNotifyName(name); } user->RegisterObserver(this); return user;