Skip to content

Commit

Permalink
Fix string handling in email_mirror queue_processor.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmaeklavya2 authored and timabbott committed Jul 28, 2016
1 parent 80bb275 commit b98b049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerver/worker/queue_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class MirrorWorker(QueueProcessingWorker):
# who gets a digest is entirely determined by the enqueue_digest_emails
# management command, not here.
def consume(self, event):
mirror_email(email.message_from_string(event["message"].encode("utf-8")),
mirror_email(email.message_from_string(event["message"]),
rcpt_to=event["rcpt_to"], pre_checked=True)

@assign_queue('test')
Expand Down

0 comments on commit b98b049

Please sign in to comment.