mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +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_subscribe = do_add_subscription(user_profile, stream)
|
||||
print "%s %s to %s" % (
|
||||
"Subscribed" if did_subscribe else "Already subscribed",
|
||||
user_profile.user.email, stream_name)
|
||||
user_profile.email, stream_name)
|
||||
|
||||
Reference in New Issue
Block a user