diff --git a/cmd/beemo/notify_mentions.go b/cmd/beemo/notify_mentions.go index 19d3886a..8cfbbfaf 100644 --- a/cmd/beemo/notify_mentions.go +++ b/cmd/beemo/notify_mentions.go @@ -50,7 +50,7 @@ func (mc *MentionChecker) ProcessPost(ctx context.Context, did syntax.DID, rkey return err } msg := fmt.Sprintf("Mention of `@%s` by `@%s` ():\n```%s```", targetIdent.Handle, authorIdent.Handle, did, rkey, post.Text) - if post.Embed != nil && (post.Embed.EmbedImages != nil || post.Embed.EmbedRecordWithMedia != nil || post.Embed.EmbedRecord != nil || post.Embed.EmbedExternal != nil) { + if post.Embed != nil && (post.Embed.EmbedImages != nil || post.Embed.EmbedGallery != nil || post.Embed.EmbedRecordWithMedia != nil || post.Embed.EmbedRecord != nil || post.Embed.EmbedExternal != nil) { msg += "\n(post also contains an embed/quote/media)" } return sendSlackMsg(ctx, msg, mc.slackWebhookURL)