mirror of https://github.com/zulip/zulip.git
queue_processors: Fix misleading copied comment.
This comment was clearly copied from the previous processor.
This commit is contained in:
parent
58a6dafa68
commit
e06668c7e8
|
@ -478,8 +478,6 @@ class DigestWorker(QueueProcessingWorker): # nocoverage
|
||||||
|
|
||||||
@assign_queue('email_mirror')
|
@assign_queue('email_mirror')
|
||||||
class MirrorWorker(QueueProcessingWorker):
|
class MirrorWorker(QueueProcessingWorker):
|
||||||
# who gets a digest is entirely determined by the enqueue_digest_emails
|
|
||||||
# management command, not here.
|
|
||||||
def consume(self, event: Mapping[str, Any]) -> None:
|
def consume(self, event: Mapping[str, Any]) -> None:
|
||||||
message = force_str(event["message"])
|
message = force_str(event["message"])
|
||||||
mirror_email(email.message_from_string(message),
|
mirror_email(email.message_from_string(message),
|
||||||
|
|
Loading…
Reference in New Issue