We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6034308 commit 5c6edd0Copy full SHA for 5c6edd0
1 file changed
src/modules/mx-space/event-handler.ts
@@ -67,11 +67,9 @@ export const handleEvent =
67
logger.error(`category not found, post id: ${id}`)
68
return
69
}
70
- const simplePreview = summary
+
71
const url = await urlBuilder.build(payload as PostModel)
72
- const message = `${
73
- owner.name
74
- } ${publishDescription}: ${title}\n\n${simplePreview}\n\n${
+ const message = `${owner.name} ${publishDescription}: ${title}\n\n${
75
summary ? `${summary}\n\n` : ''
76
}\n前往阅读:${url}`
77
await sendToGroup([
0 commit comments