mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
committed by
Tim Abbott
parent
771db7fb90
commit
b650b6b38c
@@ -735,8 +735,8 @@ exports.initialize = function () {
|
||||
if (data !== undefined && data.mentioned !== undefined) {
|
||||
var email = data.mentioned.email;
|
||||
|
||||
// warn if @all or @everyone is mentioned
|
||||
if (data.mentioned.full_name === 'all' || data.mentioned.full_name === 'everyone') {
|
||||
// warn if @all, @everyone or @stream is mentioned
|
||||
if (data.mentioned.full_name === 'all' || data.mentioned.full_name === 'everyone' || data.mentioned.full_name === 'stream') {
|
||||
return; // don't check if @all or @everyone is subscribed to a stream
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user