Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
refactor: Use subs_to_add in return value.
Steve Howell8c70fbde7856
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.pyindex 34567b911dd..04811dc283b 100644--- a/zerver/lib/actions.py+++ b/zerver/lib/actions.py@@ -2926,7 +2926,7 @@ def bulk_add_subscriptions(streams: Iterable[Stream],all_subscribers_by_stream=all_subscribers_by_stream,)- return ([(user_profile, stream) for (user_profile, recipient_id, stream) in new_subs] ++ return ([(sub.user_profile, stream) for (sub, stream) in subs_to_add] +[(sub.user_profile, stream) for (sub, stream) in subs_to_activate],already_subscribed)