mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
return err socket.
This commit is contained in:
parent
da7e6f7728
commit
6d27b0a69c
@ -13,8 +13,7 @@ func (h *MessageHandlerCtx) screenSizeChange(session types.Session, payload *mes
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := h.desktop.ChangeScreenSize(payload.Width, payload.Height, payload.Rate); err != nil {
|
if err := h.desktop.ChangeScreenSize(payload.Width, payload.Height, payload.Rate); err != nil {
|
||||||
h.logger.Warn().Err(err).Msgf("unable to change screen size")
|
return err
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h.sessions.Broadcast(
|
h.sessions.Broadcast(
|
||||||
|
Loading…
Reference in New Issue
Block a user