mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Implemented loading of latest messages on joining chat
This commit is contained in:
@@ -43,6 +43,7 @@ void NetworkServer::connectionAccepted(std::shared_ptr<NetworkSocket> upcomingCo
|
||||
auto connection = std::make_shared<NetworkConnection>(upcomingConnection, *this);
|
||||
connections.insert(connection);
|
||||
connection->start();
|
||||
onNewConnection(connection);
|
||||
startAsyncAccept();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user