merge the lobby suppression
authornemo
Sun, 24 Mar 2024 14:33:57 -0400
changeset 16024 4c523ed1d35c
parent 16020 00bf5adba849 (current diff)
parent 16022 64740eec84ad (diff)
child 16025 19927b70588c
merge the lobby suppression
QTfrontend/net/newnetclient.cpp
--- a/QTfrontend/net/newnetclient.cpp	Mon Feb 19 00:14:10 2024 +0300
+++ b/QTfrontend/net/newnetclient.cpp	Sun Mar 24 14:33:57 2024 -0400
@@ -948,8 +948,9 @@
 
             for(int i = 1; i < lst.size(); ++i)
             {
-                emit chatStringFromNet(tr("%1 *** %2 has joined the room").arg('\x03').arg(lst[i]));
                 m_playersModel->playerJoinedRoom(lst[i], isChief && (lst[i] != mynick));
+                if(!m_playersModel->isFlagSet(lst[i], PlayersListModel::Ignore))
+                        emit chatStringFromNet(tr("%1 *** %2 has joined the room").arg('\x03').arg(lst[i]));
             }
             return;
         }