Shortcircuit notification generation if there is no diff to render

This commit is contained in:
Tom Moor
2022-10-03 21:04:32 -04:00
parent dcae92ddfc
commit 125ddec60b

View File

@@ -126,6 +126,10 @@ export default class NotificationsProcessor extends BaseProcessor {
includeTitle: false,
centered: false,
});
if (!content) {
return;
}
content = await DocumentHelper.attachmentsToSignedUrls(
content,
event.teamId,