mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Disable notifying on sending outside view for now.
It's somewhat buggy, and has thus been annoying our internal users, so better to disable it until we can fix the bugs. (imported from commit f981791d32d321b0cfe06b4a337e26ab48832bb3)
This commit is contained in:
@@ -43,7 +43,7 @@ exports.left_side_userlist = page_params.staging ||
|
||||
// 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 = false;
|
||||
|
||||
// Still burning in...
|
||||
exports.mark_read_at_bottom = true;
|
||||
|
||||
@@ -374,7 +374,7 @@ exports.received_messages = function (messages) {
|
||||
};
|
||||
|
||||
exports.possibly_notify_new_messages_outside_viewport = function (messages) {
|
||||
if (page_params.domain !== "zulip.com") {
|
||||
if (!feature_flags.notify_on_send_not_in_view) {
|
||||
return;
|
||||
}
|
||||
_.each(messages, function (message) {
|
||||
@@ -418,7 +418,7 @@ 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 (page_params.domain !== "zulip.com") {
|
||||
if (!feature_flags.notify_on_send_not_in_view) {
|
||||
return;
|
||||
}
|
||||
_.each(messages, function (message) {
|
||||
|
||||
Reference in New Issue
Block a user