mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
We shouldn't add redundant data to page_params. Since we already have page_params.realm_notifications_stream_id, we can use that value instead of creating page_params.notifications_stream. We, however, still need the name of the notifications stream to render it in templates. Thus we create stream_data.get_notifications_stream().