Skip to content

Commit

Permalink
fix message struct
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Jan 18, 2021
1 parent 1e186e8 commit 3788d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/websocket/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (h *MessageHandler) SessionCreated(id string, session types.Session) error

// if locked, notify admin about that
if h.locked {
if err := session.Send(message.MembersList{
if err := session.Send(message.Admin{
Event: event.ADMIN_LOCK,
ID: id,
}); err != nil {
Expand Down

0 comments on commit 3788d81

Please sign in to comment.