Disconnected 시그니처 변경
This commit is contained in:
@ -6,7 +6,6 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/go-redis/redis/v8"
|
||||
"github.com/gorilla/websocket"
|
||||
"repositories.action2quare.com/ayo/gocommon"
|
||||
"repositories.action2quare.com/ayo/gocommon/logger"
|
||||
"repositories.action2quare.com/ayo/gocommon/wshandler"
|
||||
@ -470,7 +469,7 @@ func (gi *groupInstant) find(id groupID) (*instantDoc, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (gi *groupInstant) ClientDisconnected(conn *websocket.Conn, callby *wshandler.Sender) {
|
||||
func (gi *groupInstant) ClientDisconnected(msg string, callby *wshandler.Sender) {
|
||||
gids, _ := gi.rh.JSONGetString(callby.Accid.Hex(), "$.instant.id")
|
||||
|
||||
if len(gids) > 0 && len(gids[0]) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user