chore: remove sender name in notification

This commit is contained in:
moonrailgun 2024-09-12 00:47:04 +08:00
parent 1a39f00aef
commit f309000a0c

View File

@ -83,7 +83,7 @@ export async function sendFeedEventsNotify(
events.map((event) => events.map((event) =>
compact([ compact([
token.text( token.text(
`[${event.source}:${event.eventName}] ${event.senderName ?? ''}: ${event.eventContent}` `[${event.source}:${event.eventName}] ${event.eventContent}`
), ),
event.url && token.url(event.url, '[→]'), event.url && token.url(event.url, '[→]'),
]) ])