mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
zerver/lib/notifications: Add stream email notifications.
This modifies the logic for formatting outgoing missed-message emails to support the upcoming stream email notifications feature (providing a new format for the subject, etc.).
This commit is contained in:
@@ -163,6 +163,7 @@ class EditMessageSideEffectsTest(ZulipTestCase):
|
||||
private_message=False,
|
||||
mentioned=True,
|
||||
stream_push_notify=False,
|
||||
stream_email_notify=False,
|
||||
stream_name='Scotland',
|
||||
always_push_notify=False,
|
||||
idle=True,
|
||||
@@ -314,6 +315,7 @@ class EditMessageSideEffectsTest(ZulipTestCase):
|
||||
private_message=False,
|
||||
mentioned=True,
|
||||
stream_push_notify=False,
|
||||
stream_email_notify=False,
|
||||
stream_name='Scotland',
|
||||
always_push_notify=True,
|
||||
idle=False,
|
||||
@@ -351,6 +353,7 @@ class EditMessageSideEffectsTest(ZulipTestCase):
|
||||
private_message=False,
|
||||
mentioned=False,
|
||||
stream_push_notify=False,
|
||||
stream_email_notify=False,
|
||||
stream_name='Scotland',
|
||||
always_push_notify=True,
|
||||
idle=False,
|
||||
@@ -388,6 +391,7 @@ class EditMessageSideEffectsTest(ZulipTestCase):
|
||||
private_message=False,
|
||||
mentioned=True,
|
||||
stream_push_notify=False,
|
||||
stream_email_notify=False,
|
||||
stream_name='Scotland',
|
||||
always_push_notify=False,
|
||||
idle=True,
|
||||
@@ -422,6 +426,7 @@ class EditMessageSideEffectsTest(ZulipTestCase):
|
||||
private_message=False,
|
||||
mentioned=True,
|
||||
stream_push_notify=False,
|
||||
stream_email_notify=False,
|
||||
stream_name='Scotland',
|
||||
always_push_notify=False,
|
||||
idle=False,
|
||||
|
||||
Reference in New Issue
Block a user