mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Remove 'PM' from missed message subject as we also email you on @-notifications
(imported from commit 0993bae5b6a1e40b462a314c41bd5c2d47b4bc8c)
This commit is contained in:
@@ -1263,7 +1263,7 @@ def do_send_missedmessage_email(user_profile, missed_messages):
|
|||||||
template_payload['mention'] = True
|
template_payload['mention'] = True
|
||||||
template_payload['reply_warning'] = True
|
template_payload['reply_warning'] = True
|
||||||
|
|
||||||
subject = "Missed Humbug PM%s from %s" % ('s' if len(senders) > 1 else '', sender_str)
|
subject = "Missed Humbug%s from %s" % ('s' if len(senders) > 1 else '', sender_str)
|
||||||
from_email = "%s (via Humbug) <noreply@humbughq.com>" % (sender_str)
|
from_email = "%s (via Humbug) <noreply@humbughq.com>" % (sender_str)
|
||||||
|
|
||||||
text_content = loader.render_to_string('zephyr/missed_message_email.txt', template_payload)
|
text_content = loader.render_to_string('zephyr/missed_message_email.txt', template_payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user