QTfrontend/net/newnetclient.cpp
changeset 7710 fd5bcbd698a5
parent 7684 db140521d102
child 7712 10e7eed3f180
--- a/QTfrontend/net/newnetclient.cpp	Tue Sep 25 02:57:03 2012 +0200
+++ b/QTfrontend/net/newnetclient.cpp	Tue Sep 25 22:45:40 2012 +0400
@@ -466,6 +466,11 @@
 
         QString roomName = tmp.takeFirst();
         m_roomsListModel->updateRoom(roomName, tmp);
+
+        // keep track of room name so correct name is displayed when you become room admin
+        if(myroom == roomName)
+            myroom = roomName;
+
         return;
     }