email mirror: Fix missing variable for logging.

This commit is contained in:
Tim Abbott
2019-02-13 13:16:55 -08:00
parent f4478aad54
commit 7099d01641

View File

@@ -163,6 +163,7 @@ def send_to_missed_message_address(address: str, message: message.Message) -> No
user_profile.realm, user_profile, stream,
subject_b.decode('utf-8'), body
)
recipient_str = stream.name
elif recipient.type == Recipient.PERSONAL:
display_recipient = get_display_recipient(recipient)
assert not isinstance(display_recipient, str)