Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

emails: Rename missed message email sender to "Zulip notifcations".

Mateusz Mandera716449030da2
diff --git a/zerver/lib/email_notifications.py b/zerver/lib/email_notifications.py
index 69f22070f9f..759516288da 100644
--- a/zerver/lib/email_notifications.py
+++ b/zerver/lib/email_notifications.py
@@ -502,7 +502,7 @@ def do_send_missedmessage_events_reply_in_zulip(
)
with override_language(user_profile.default_language):
- from_name: str = _("Zulip missed messages")
+ from_name: str = _("Zulip notifications")
from_address = FromAddress.NOREPLY
if len(senders) == 1 and settings.SEND_MISSED_MESSAGE_EMAILS_AS_USER:
# If this setting is enabled, you can reply to the Zulip
diff --git a/zerver/tests/test_email_notifications.py b/zerver/tests/test_email_notifications.py
index 81f559b9bb8..2611ebae712 100644
--- a/zerver/tests/test_email_notifications.py
+++ b/zerver/tests/test_email_notifications.py
@@ -305,9 +305,7 @@ class TestMissedMessages(ZulipTestCase):
else:
reply_to_emails = ["noreply@testserver"]
msg = mail.outbox[0]
- from_email = str(
- Address(display_name="Zulip missed messages", addr_spec=FromAddress.NOREPLY)
- )
+ from_email = str(Address(display_name="Zulip notifications", addr_spec=FromAddress.NOREPLY))
self.assertEqual(len(mail.outbox), 1)
if send_as_user:
from_email = f'"{othello.full_name}" <{othello.email}>'