From c9f0c8671975d0e4f463d1dd224dc2bed43425d3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 31 Aug 2023 20:18:25 -0400 Subject: [PATCH] Small improvement to messages posted to Slack Related #5295 --- plugins/slack/server/processors/SlackProcessor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/slack/server/processors/SlackProcessor.ts b/plugins/slack/server/processors/SlackProcessor.ts index 6dc08488a..e623d329d 100644 --- a/plugins/slack/server/processors/SlackProcessor.ts +++ b/plugins/slack/server/processors/SlackProcessor.ts @@ -122,10 +122,10 @@ export default class SlackProcessor extends BaseProcessor { if (!integration) { return; } - let text = `${document.updatedBy.name} updated a document`; + let text = `${document.updatedBy.name} updated "${document.title}"`; if (event.name === "documents.publish") { - text = `${document.createdBy.name} published a new document`; + text = `${document.createdBy.name} published "${document.title}"`; } await fetch(integration.settings.url, {