mirror of
https://github.com/discourse/discourse.git
synced 2025-04-20 18:29:10 +08:00

Followup https://github.com/discourse/discourse/pull/31505/ When sending notification emails for system user responses for PMs, we removed the part of the CTA where it says "to respond to xyz" in a previous commit. This commit takes it slightly further -- we now only show a "Visit Topic" or "Visit Message" button if the PM notification is from a system user, it's a bit cleaner. This commit also adds more in-depth tests, and refactors the message builder a little.