--- 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;