diff --git a/static/js/subs.js b/static/js/subs.js index b31d7a8440..0ef37f7708 100644 --- a/static/js/subs.js +++ b/static/js/subs.js @@ -618,11 +618,11 @@ function inline_emails_into_subscriber_list(subs, email_dict) { $(function () { var i; - inline_emails_into_subscriber_list(page_params.stream_list, page_params.email_dict); + inline_emails_into_subscriber_list(page_params.subbed_info, page_params.email_dict); inline_emails_into_subscriber_list(page_params.unsubbed_info, page_params.email_dict); // Populate stream_info with data handed over to client-side template. - populate_subscriptions(page_params.stream_list, true); + populate_subscriptions(page_params.subbed_info, true); populate_subscriptions(page_params.unsubbed_info, false); $("#subscriptions_table").on("submit", "#add_new_subscription", function (e) { diff --git a/zerver/views/__init__.py b/zerver/views/__init__.py index fc8e1d8f08..ded7075914 100644 --- a/zerver/views/__init__.py +++ b/zerver/views/__init__.py @@ -832,7 +832,7 @@ def home(request): login_page = settings.HOME_NOT_LOGGED_IN, password_auth_enabled = password_auth_enabled(), have_initial_messages = user_has_messages, - stream_list = register_ret['subscriptions'], + subbed_info = register_ret['subscriptions'], unsubbed_info = register_ret['unsubscribed'], email_dict = register_ret['email_dict'], people_list = register_ret['realm_users'],