From 86f64cfa40128a3638c303d33412489397354631 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Thu, 10 Jun 2021 16:44:35 -0500 Subject: [PATCH] Ensure MUC nicks are respected --- application/Conversation.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;