mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
queue: Remove missedmessage_email_senders code.
After 68513952fb, all emails are sent through email_senders queue.
This commit removes code related to the legacy queue.
This commit is contained in:
@@ -308,19 +308,6 @@ class EmailSendingWorker(QueueProcessingWorker):
|
||||
del copied_event['failed_tries']
|
||||
send_email_from_dict(copied_event)
|
||||
|
||||
@assign_queue('missedmessage_email_senders')
|
||||
class MissedMessageSendingWorker(EmailSendingWorker):
|
||||
"""
|
||||
Note: Class decorators are not inherited.
|
||||
|
||||
The `missedmessage_email_senders` queue was used up through 1.7.1, so we
|
||||
keep consuming from it in case we've just upgraded from an old version.
|
||||
After the 1.8 release, we can delete it and tell admins to upgrade to 1.8
|
||||
first.
|
||||
"""
|
||||
# TODO: zulip-1.8: Delete code related to missedmessage_email_senders queue.
|
||||
pass
|
||||
|
||||
@assign_queue('missedmessage_mobile_notifications')
|
||||
class PushNotificationsWorker(QueueProcessingWorker):
|
||||
def consume(self, data):
|
||||
|
||||
Reference in New Issue
Block a user