Block mit.edu from showing mention invitations

(imported from commit e8e85cad0198103a072cd452feb78a67b05b185c)
This commit is contained in:
Leo Franchi 2013-09-18 11:50:58 -04:00
parent 80d634aced
commit d3d4a41419
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}