mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
more ISL code, mutex fixes
This commit is contained in:
@@ -107,7 +107,7 @@ void IslInterface::initServer()
|
||||
while (roomIterator.hasNext()) {
|
||||
Server_Room *room = roomIterator.next().value();
|
||||
room->roomMutex.lock();
|
||||
event.add_room_list()->CopyFrom(room->getInfo(true, true, false));
|
||||
event.add_room_list()->CopyFrom(room->getInfo(true, true, false, false));
|
||||
}
|
||||
|
||||
IslMessage message;
|
||||
|
||||
@@ -856,6 +856,7 @@ void Servatrice::addIslInterface(int serverId, IslInterface *interface)
|
||||
islInterfaces.insert(serverId, interface);
|
||||
connect(interface, SIGNAL(externalUserJoined(ServerInfo_User)), this, SLOT(externalUserJoined(ServerInfo_User)));
|
||||
connect(interface, SIGNAL(externalUserLeft(QString)), this, SLOT(externalUserLeft(QString)));
|
||||
connect(interface, SIGNAL(externalRoomUpdated(ServerInfo_Room)), this, SLOT(externalRoomUpdated(const ServerInfo_Room &)));
|
||||
}
|
||||
|
||||
void Servatrice::removeIslInterface(int serverId)
|
||||
|
||||
Reference in New Issue
Block a user