From f309000a0c3a58a4e1df9c44803ea6a0299fe9ac Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 12 Sep 2024 00:47:04 +0800 Subject: [PATCH] chore: remove sender name in notification --- src/server/model/feed/event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/model/feed/event.ts b/src/server/model/feed/event.ts index 3b599ef..ebfa3d9 100644 --- a/src/server/model/feed/event.ts +++ b/src/server/model/feed/event.ts @@ -83,7 +83,7 @@ export async function sendFeedEventsNotify( events.map((event) => compact([ token.text( - `[${event.source}:${event.eventName}] ${event.senderName ?? ''}: ${event.eventContent}` + `[${event.source}:${event.eventName}] ${event.eventContent}` ), event.url && token.url(event.url, '[→]'), ])