Disconnected 시그니처 변경
This commit is contained in:
@ -109,7 +109,7 @@ func (gc *groupChat) ClientConnected(conn *websocket.Conn, callby *wshandler.Sen
|
||||
gc.rh.JSONSet(callby.Accid.Hex(), "$.channel", map[string]any{})
|
||||
}
|
||||
|
||||
func (gc *groupChat) ClientDisconnected(conn *websocket.Conn, callby *wshandler.Sender) {
|
||||
func (gc *groupChat) ClientDisconnected(msg string, callby *wshandler.Sender) {
|
||||
docs, _ := gc.rh.JSONGetDocuments(callby.Accid.Hex(), "$.channel")
|
||||
|
||||
if len(docs) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user