Skip to content

Commit

Permalink
Don't show names for GitHub apps (refined-github#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashigi authored and jgierer12 committed Jan 6, 2018
1 parent bc2cea9 commit 50e22ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/features/show-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export default async () => {

// {sindresorhus: [a.author, a.author], otheruser: [a.author]}
const selector = `.js-discussion .author:not(.refined-github-fullname)`;
const usersOnPage = groupBy(select.all(selector), el => el.textContent);
const usersOnPage = groupBy(select.all(selector)
.filter(el => !el.getAttribute('href').startsWith('/apps/')), el => el.textContent);

const fetchAndAdd = async username => {
if (typeof cache[username] === 'undefined' && username !== myUsername) {
Expand Down

0 comments on commit 50e22ab

Please sign in to comment.