QTfrontend/net/newnetclient.cpp
branchwebgl
changeset 9521 8054d9d775fd
parent 9127 e350500c4edb
parent 9503 8f9b04138456
child 9950 2759212a27de
--- a/QTfrontend/net/newnetclient.cpp	Fri Oct 11 11:55:31 2013 +0200
+++ b/QTfrontend/net/newnetclient.cpp	Fri Oct 11 17:43:13 2013 +0200
@@ -436,6 +436,16 @@
                         foreach(const QString & nick, nicks)
                             m_playersModel->setFlag(nick, PlayersListModel::Registered, setFlag);
                         break;
+                // flag indicating if a player is in room
+                case 'i':
+                        foreach(const QString & nick, nicks)
+                            m_playersModel->setFlag(nick, PlayersListModel::InRoom, setFlag);
+                        break;
+                // flag indicating if a player is contributor
+                case 'c':
+                        foreach(const QString & nick, nicks)
+                            m_playersModel->setFlag(nick, PlayersListModel::InRoom, setFlag);
+                        break;
                 // flag indicating if a player has engine running
                 case 'g':
                     if(inRoom)