1
0
Fork 0
mirror of https://github.com/owncast/owncast.git synced 2024-10-28 01:59:38 +01:00

fix(webhooks): fix chat user parted webhook creation error. Closes #3524

This commit is contained in:
Gabe Kangas 2024-02-18 16:20:58 -08:00
parent ebf64dd17d
commit 797e464767
No known key found for this signature in database
GPG key ID: 4345B2060657F330
2 changed files with 3 additions and 0 deletions

View file

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

View file

@ -19,6 +19,7 @@ type Webhook struct {
var validEvents = []EventType{
MessageSent,
UserJoined,
UserParted,
UserNameChanged,
VisibiltyToggled,
StreamStarted,