remove broadcast from websocket.

This commit is contained in:
Miroslav Šedivý 2020-11-30 17:29:05 +01:00
parent def6248ca7
commit 994a91886d
4 changed files with 0 additions and 60 deletions

View file

@ -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)