| 202 | } |
| 203 | |
| 204 | String UniverseServer::clientDescriptor(ConnectionId clientId) const { |
| 205 | ReadLocker clientsLocker(m_clientsLock); |
| 206 | if (auto clientContext = m_clients.value(clientId)) |
| 207 | return clientContext->descriptiveName(); |
| 208 | else |
| 209 | return "disconnected_client"; |
| 210 | } |
| 211 | |
| 212 | String UniverseServer::clientNick(ConnectionId clientId) const { |
| 213 | return m_chatProcessor->connectionNick(clientId); |
nothing calls this directly
no test coverage detected