Give notifying on sends not in view to everyone.

(imported from commit cae30d82e3647c3b710c568e47cc217457d3ab03)
This commit is contained in:
Jessica McKellar
2013-11-19 17:19:27 -05:00
parent 657e1f1f9a
commit 7b7dd7d8ca
2 changed files with 0 additions and 7 deletions

View File

@@ -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;