mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
bulk_remove_subscriptions: Pass client object in.
We need the client object to pass on to do_mark_stream_as_read.
This commit is contained in:
@@ -27,7 +27,7 @@ class Command(ZulipBaseCommand):
|
||||
stream_name = options["stream"].strip()
|
||||
stream = get_stream(stream_name, realm)
|
||||
|
||||
result = bulk_remove_subscriptions(user_profiles, [stream])
|
||||
result = bulk_remove_subscriptions(user_profiles, [stream], self.get_client())
|
||||
not_subscribed = result[1]
|
||||
not_subscribed_users = {tup[0] for tup in not_subscribed}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user