From 7b7dd7d8cae005cd9fa54814fc32c0b9671b4ba6 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Tue, 19 Nov 2013 17:19:27 -0500 Subject: [PATCH] Give notifying on sends not in view to everyone. (imported from commit cae30d82e3647c3b710c568e47cc217457d3ab03) --- static/js/feature_flags.js | 1 - static/js/notifications.js | 6 ------ 2 files changed, 7 deletions(-) diff --git a/static/js/feature_flags.js b/static/js/feature_flags.js index 5bcd4bcec4..25d9b5dbc5 100644 --- a/static/js/feature_flags.js +++ b/static/js/feature_flags.js @@ -42,7 +42,6 @@ exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domai // Still very beta: exports.fade_users_when_composing = page_params.staging || is_customer4; exports.use_socket = page_params.staging; -exports.notify_on_send_not_in_view = page_params.staging; exports.show_huddles = page_params.staging || is_customer4; // Still burning in... diff --git a/static/js/notifications.js b/static/js/notifications.js index 1bb498cef5..5bbddfead2 100644 --- a/static/js/notifications.js +++ b/static/js/notifications.js @@ -385,9 +385,6 @@ function get_message_header(message) { } exports.possibly_notify_new_messages_outside_viewport = function (messages) { - if (!feature_flags.notify_on_send_not_in_view) { - return; - } _.each(messages, function (message) { if (message.sender_email !== page_params.email) { return; @@ -420,9 +417,6 @@ exports.possibly_notify_new_messages_outside_viewport = function (messages) { // for callback when we have to check with the server if a message should be in // the current_msg_list (!can_apply_locally; a.k.a. "a search"). exports.notify_messages_outside_current_search = function (messages) { - if (!feature_flags.notify_on_send_not_in_view) { - return; - } _.each(messages, function (message) { if (message.sender_email !== page_params.email) { return;