fix message struct
This commit is contained in:
parent
1e186e8239
commit
3788d81061
@ -25,7 +25,7 @@ func (h *MessageHandler) SessionCreated(id string, session types.Session) error
|
|||||||
|
|
||||||
// if locked, notify admin about that
|
// if locked, notify admin about that
|
||||||
if h.locked {
|
if h.locked {
|
||||||
if err := session.Send(message.MembersList{
|
if err := session.Send(message.Admin{
|
||||||
Event: event.ADMIN_LOCK,
|
Event: event.ADMIN_LOCK,
|
||||||
ID: id,
|
ID: id,
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
|
Reference in New Issue
Block a user