mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 03:39:06 +08:00
We recently fixed a problem where secure upload images weren't re-attached when sending the activity summary e-mail. This fix contained a bug that would lead to n copies of the e-mail body being included, n being the number of duplicates. This is because #fix_parts_after_attachments! was called once per attachment, and adding more parts to the multipart e-mail. This PR fixes that by: Adding a failing test case for the above. Moving the looping over multiple posts into #fix_parts_after_attachments! itself. |
||
|---|---|---|
| .. | ||
| authentication_results.rb | ||
| build_email_helper.rb | ||
| cleaner.rb | ||
| message_builder.rb | ||
| message_id_service.rb | ||
| poller.rb | ||
| processor.rb | ||
| receiver.rb | ||
| renderer.rb | ||
| sender.rb | ||
| styles.rb | ||
| validator.rb | ||