in js/utils.js [84:113]
function trimAddress(account) {
if (account == undefined) {
// Unassigned
account = '';
}
for (const [key, value] of Object.entries(NeedInfoConfig.developers)) {
if (value == account) {
account = key;
break;
}
}
account = account.replace('nobody@mozilla.org', '');
// Todo: get the alias from bugzilla
// aryx.bugmail@gmx-topmail.de
account = account.replace('aryx.bugmail@gmx-topmail.de', 'Aryx');
// ryanvm@gmail.com
account = account.replace('ryanvm@gmail.com', 'RyanVM');
// nagbot
account = account.replace('release-mgmt-account-bot@mozilla.tld', 'nag-bot');
// updatebot
account = account.replace('update-bot@bmo.tld', 'update-bot');
account = account.replace('@mozilla.org', '@moz');
account = account.replace('@mozilla.com', '@moz');
return account;
}