mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adjust chat server/client for new connection_handler ifc
This commit is contained in:
@@ -59,7 +59,7 @@ void chat_server_handler::on_open(session_ptr client) {
|
||||
send_to_all(encode_message("server",m_connections[client]+" has joined the chat."));
|
||||
}
|
||||
|
||||
void chat_server_handler::on_close(session_ptr client,uint16_t status,const std::string &reason) {
|
||||
void chat_server_handler::on_close(session_ptr client) {
|
||||
std::map<session_ptr,std::string>::iterator it = m_connections.find(client);
|
||||
|
||||
if (it == m_connections.end()) {
|
||||
|
||||
Reference in New Issue
Block a user