Change the client ui a little

This commit is contained in:
2026-02-13 14:26:52 +01:00
parent 33788518ba
commit 5edf51e25c
3 changed files with 157 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ Service::sendMsg(grpc::CallbackServerContext *context) {
return newClient;
}
void Service::sendToAll(const chat::chatMsg &msg) {
void Service::sendToAll(chat::chatMsg &msg) {
std::cout << "Relay message to: ";
for (auto client : m_clients) {
std::cout << client.first << " ";