Add frontend support for newer realms receiving stream notifications by default.

(imported from commit 6b7f8d7bc85177d0d85384ac4bed508afdec7e83)
This commit is contained in:
Jessica McKellar 2013-09-20 11:55:49 -04:00 committed by Zev Benjamin
parent f058e9cac5
commit a0ff47a449
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function create_sub(stream_name, attrs) {
subscribed: true,
in_home_view: true,
invite_only: false,
notifications: false
notifications: page_params.notify_for_streams_by_default
});
stream_data.set_subscribers(sub, subscriber_emails);