mirror of https://github.com/zulip/zulip.git
Block mit.edu from showing mention invitations
(imported from commit e8e85cad0198103a072cd452feb78a67b05b185c)
This commit is contained in:
parent
80d634aced
commit
d3d4a41419
|
@ -564,7 +564,8 @@ $(function () {
|
|||
// Show a warning if a user @-mentions someone who will not receive this message
|
||||
$(document).on('usermention_completed.zulip', function (event, data) {
|
||||
// Legacy strangeness: is_composing_message can be false, "stream", or "private"
|
||||
if (is_composing_message !== "stream") {
|
||||
// Disable on MIT since we never have subscriber lists there
|
||||
if (is_composing_message !== "stream" || page_params.domain === 'mit.edu') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue