mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-25 14:07:58 +02:00
remove broadcast from websocket.
This commit is contained in:
parent
def6248ca7
commit
994a91886d
4 changed files with 0 additions and 60 deletions
|
@ -85,15 +85,6 @@ func (h *MessageHandlerCtx) Message(session types.Session, raw []byte) error {
|
|||
return h.screenSizeChange(session, payload)
|
||||
})
|
||||
|
||||
// Boradcast Events
|
||||
case event.BORADCAST_CREATE:
|
||||
payload := &message.BroadcastCreate{}
|
||||
err = utils.Unmarshal(payload, raw, func() error {
|
||||
return h.boradcastCreate(session, payload)
|
||||
})
|
||||
case event.BORADCAST_DESTROY:
|
||||
err = h.boradcastDestroy(session)
|
||||
|
||||
// Admin Events
|
||||
case event.ADMIN_CONTROL:
|
||||
err = h.adminControl(session)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue