Skip to content

Commit 487f610

Browse files
authored
DEV: add user email to chat summary mailer (#32917)
Pass user email rather than relying on enrichment when sending summary emails.
1 parent 5cb1973 commit 487f610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/chat/lib/chat/mailer.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def self.send_unread_mentions_summary
1717
:user_email,
1818
type: "chat_summary",
1919
user_id: user.id,
20+
to_address: user.email,
2021
force_respect_seen_recently: true,
2122
)
2223
end

0 commit comments

Comments
 (0)