mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Access the UserProfile's new email field rather than using User.
This is preparatory for stopping using the User model. (imported from commit a1b0808c8cc2ddd19a25163f91c4f18620c9ce90)
This commit is contained in:
@@ -51,4 +51,4 @@ class Command(BaseCommand):
|
||||
did_remove = do_remove_subscription(user_profile, stream)
|
||||
print "%s %s from %s" % (
|
||||
"Removed" if did_remove else "Couldn't remove",
|
||||
user_profile.user.email, stream_name)
|
||||
user_profile.email, stream_name)
|
||||
|
||||
Reference in New Issue
Block a user