Change the client ui a little
This commit is contained in:
@@ -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 << " ";
|
||||
|
||||
Reference in New Issue
Block a user