세션 invalidate될 때 전달하는 인자를 구조체로 변경
This commit is contained in:
@ -334,8 +334,8 @@ func (ws *WebsocketHandler) LeaveRoom(room string, accid primitive.ObjectID) {
|
||||
}
|
||||
}
|
||||
|
||||
func (ws *WebsocketHandler) onSessionInvalidated(accid primitive.ObjectID) {
|
||||
ws.forceCloseChan <- accid
|
||||
func (ws *WebsocketHandler) onSessionInvalidated(invsess session.InvalidatedSession) {
|
||||
ws.forceCloseChan <- invsess.Account
|
||||
}
|
||||
|
||||
func (ws *WebsocketHandler) mainLoop(ctx context.Context) {
|
||||
|
||||
Reference in New Issue
Block a user