mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Give notifying on sends not in view to everyone.
(imported from commit cae30d82e3647c3b710c568e47cc217457d3ab03)
This commit is contained 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