mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
Give notifying on sends not in view to everyone.
(imported from commit cae30d82e3647c3b710c568e47cc217457d3ab03)
This commit is contained in:
@@ -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...
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user