mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Cause @all or @everyone to alert everyone
(imported from commit e2d1cd8b6ea4f2cbae82d052643a5b88e979931c)
This commit is contained in:
@@ -19,6 +19,8 @@ function browser_desktop_notifications_on () {
|
|||||||
exports.initialize = function () {
|
exports.initialize = function () {
|
||||||
names = fullname.toLowerCase().split(" ");
|
names = fullname.toLowerCase().split(" ");
|
||||||
names.push(email.split("@")[0].toLowerCase());
|
names.push(email.split("@")[0].toLowerCase());
|
||||||
|
names.push("all");
|
||||||
|
names.push("everyone");
|
||||||
|
|
||||||
$(window).focus(function () {
|
$(window).focus(function () {
|
||||||
window_has_focus = true;
|
window_has_focus = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user