Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Change Owncast Avatar URL for discord hooks (#2748)

Lili (Lin) Pavelů91faf6682d15
diff --git a/notifications/notifications.go b/notifications/notifications.go
index 99c01aede6..545488efad 100644
--- a/notifications/notifications.go
+++ b/notifications/notifications.go
@@ -112,7 +112,7 @@ func (n *Notifier) setupDiscord() error {
if discordConfig.Enabled && discordConfig.Webhook != "" {
var image string
if serverURL := data.GetServerURL(); serverURL != "" {
- image = serverURL + "/images/owncast-logo.png"
+ image = serverURL + "/logo"
}
discordNotifier, err := discord.New(
data.GetServerName(),