mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 14:50:26 -08:00
Log messages from rooms, games and chats
This commit is contained in:
@@ -345,6 +345,8 @@ void Server::externalRoomSay(int roomId, const QString &userName, const QString
|
||||
return;
|
||||
}
|
||||
room->say(userName, message, false);
|
||||
|
||||
getDatabaseInterface()->logMessage(0, userName, "ISL", message, Server_DatabaseInterface::MessageTargetRoom, room->getId(), room->getName());
|
||||
}
|
||||
|
||||
void Server::externalRoomGameListChanged(int roomId, const ServerInfo_Game &gameInfo)
|
||||
|
||||
Reference in New Issue
Block a user