QTfrontend/net/newnetclient.cpp
changeset 15996 19927b70588c
parent 15995 4c523ed1d35c
parent 15994 fcc98c953b5e
--- a/QTfrontend/net/newnetclient.cpp	Sun Mar 24 14:33:57 2024 -0400
+++ b/QTfrontend/net/newnetclient.cpp	Sun Mar 24 14:34:27 2024 -0400
@@ -963,12 +963,14 @@
                 return;
             }
 
-            if (lst.size() < 3)
-                emit chatStringFromNet(tr("%1 *** %2 has left").arg('\x03').arg(lst[1]));
-            else
-            {
-                QString leaveMsg = QString(lst[2]);
-                emit chatStringFromNet(tr("%1 *** %2 has left (%3)").arg('\x03').arg(lst[1]).arg(HWApplication::translate("server", leaveMsg.toLatin1().constData())));
+            if(!m_playersModel->isFlagSet(lst[1], PlayersListModel::Ignore)) {
+				if (lst.size() < 3)
+					emit chatStringFromNet(tr("%1 *** %2 has left").arg('\x03').arg(lst[1]));
+				else
+				{
+					QString leaveMsg = QString(lst[2]);
+					emit chatStringFromNet(tr("%1 *** %2 has left (%3)").arg('\x03').arg(lst[1]).arg(HWApplication::translate("server", leaveMsg.toLatin1().constData())));
+				}
             }
             m_playersModel->playerLeftRoom(lst[1]);
             return;