mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Log messages from rooms, games and chats
This commit is contained in:
parent
02978ce404
commit
c875054fb5
3 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue