웹소켓 메시지 전송 채널 단일화
This commit is contained in:
@ -98,7 +98,7 @@ func (r *room) loop(ctx context.Context, conns *map[string]*wsconn) (normalEnd b
|
||||
logger.Println("websocket.NewPreparedMessage failed :", err)
|
||||
} else {
|
||||
r.sendMsgChan <- send_msg_queue_elem{
|
||||
to: conn,
|
||||
to: conn.Conn,
|
||||
pmsg: pmsg,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user