mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-09 15:17:29 +02:00
edit broadcast.
This commit is contained in:
parent
507fce7862
commit
7fb977faa4
4 changed files with 12 additions and 8 deletions
|
@ -45,7 +45,7 @@ func (h *MessageHandlerCtx) boradcastStatus(session types.Session) error {
|
|||
if err := session.Send(
|
||||
message.BroadcastStatus{
|
||||
Event: event.BORADCAST_STATUS,
|
||||
IsActive: h.capture.IsBoradcasting(),
|
||||
IsActive: h.capture.BroadcastEnabled(),
|
||||
URL: h.capture.BroadcastUrl(),
|
||||
}); err != nil {
|
||||
h.logger.Warn().Err(err).Msgf("sending event %s has failed", event.BORADCAST_STATUS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue