From 3e1862ffb6c6c376e88991030cc555c26df5d91c Mon Sep 17 00:00:00 2001 From: ventiph Date: Fri, 31 Oct 2025 14:43:39 -0400 Subject: [PATCH] feat(notifications): add event to Discord notification embed title fix #2117 --- server/lib/notifications/agents/discord.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/lib/notifications/agents/discord.ts b/server/lib/notifications/agents/discord.ts index 149a7fbc14..ea5628b087 100644 --- a/server/lib/notifications/agents/discord.ts +++ b/server/lib/notifications/agents/discord.ts @@ -214,16 +214,13 @@ class DiscordAgent : undefined; return { - title: payload.subject, + title: payload.event + ? `${payload.event}: ${payload.subject}` + : payload.subject, url, description: payload.message, color, timestamp: new Date().toISOString(), - author: payload.event - ? { - name: payload.event, - } - : undefined, fields, thumbnail: embedPoster ? {