Ensure MUC nicks are respected

This commit is contained in:
Jaidyn Ann 2021-06-10 16:44:35 -05:00
parent 883d06c610
commit 86f64cfa40

View File

@ -390,9 +390,10 @@ Conversation::_EnsureUser(BMessage* msg)
fLooper->AddUser(user); fLooper->AddUser(user);
fUsers.AddItem(id, user); fUsers.AddItem(id, user);
GetView()->UpdateUserList(fUsers); GetView()->UpdateUserList(fUsers);
}
if (name.IsEmpty() == false) if (name.IsEmpty() == false) {
user->SetNotifyName(name); user->SetNotifyName(name);
} }
user->RegisterObserver(this); user->RegisterObserver(this);
return user; return user;