mirror of https://github.com/zulip/zulip.git
management: fix add_users_to_streams given do_add_subscriptions output change.
(imported from commit bc03ee0bd601122689e2062b6963780743ac7d27)
This commit is contained in:
parent
d0953bc8a1
commit
645e7d58be
|
@ -48,7 +48,7 @@ class Command(BaseCommand):
|
|||
|
||||
for stream_name in set(stream_names):
|
||||
for user_profile in user_profiles:
|
||||
stream = create_stream_if_needed(user_profile.realm, stream_name)
|
||||
stream, _ = create_stream_if_needed(user_profile.realm, stream_name)
|
||||
did_subscribe = do_add_subscription(user_profile, stream)
|
||||
print "%s %s to %s" % (
|
||||
"Subscribed" if did_subscribe else "Already subscribed",
|
||||
|
|
Loading…
Reference in New Issue