Browse Source

Change Owncast Avatar URL for discord hooks (#2748)

/images/owncast-logo.png doesn't exist. /logo does.
pull/2757/head
Lili (Lin) Pavelů 2 years ago committed by GitHub
parent
commit
0f86f15efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      notifications/notifications.go

2
notifications/notifications.go

@ -112,7 +112,7 @@ func (n *Notifier) setupDiscord() error { @@ -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(),

Loading…
Cancel
Save