mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 05:38:58 +03:00
fix(webhooks): fix chat user parted webhook creation error. Closes #3524
This commit is contained in:
parent
ebf64dd17d
commit
797e464767
2 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,8 @@ const (
|
|||
MessageSent EventType = "CHAT"
|
||||
// UserJoined is the event sent when a chat user join action takes place.
|
||||
UserJoined EventType = "USER_JOINED"
|
||||
// UserParted is the event sent when a chat user parted action takes place.
|
||||
UserParted EventType = "USER_PARTED"
|
||||
// UserNameChanged is the event sent when a chat username change takes place.
|
||||
UserNameChanged EventType = "NAME_CHANGE"
|
||||
// VisibiltyToggled is the event sent when a chat message's visibility changes.
|
||||
|
|
|
@ -19,6 +19,7 @@ type Webhook struct {
|
|||
var validEvents = []EventType{
|
||||
MessageSent,
|
||||
UserJoined,
|
||||
UserParted,
|
||||
UserNameChanged,
|
||||
VisibiltyToggled,
|
||||
StreamStarted,
|
||||
|
|
Loading…
Reference in a new issue