QTfrontend/net/newnetclient.cpp
changeset 15417 5fcdc072d706
parent 14906 8b5d06749026
child 15424 3207dd5fdfd2
--- a/QTfrontend/net/newnetclient.cpp	Thu Sep 19 17:06:47 2019 +0200
+++ b/QTfrontend/net/newnetclient.cpp	Thu Sep 19 23:39:40 2019 +0300
@@ -438,6 +438,10 @@
             // Another kind of fake nick. '(' nicks are server messages, but they must not be translated
             if(!sender.startsWith('('))
             {
+                // don't handle chat messages that are from ignored nicks
+                if (m_playersModel->isFlagSet(sender, PlayersListModel::Ignore))
+                    return;
+
                 // Check for action (/me command)
                 action = HWProto::chatStringToAction(message);
             }