const randomSubs = ['random', 'randnsfw', 'myrandom'];
const fakeSubs = ['all', 'mod', 'friends'].concat(randomSubs);

export { fakeSubs, randomSubs };

export default function isFakeSubreddit(subredditName) {
  return !!subredditName && (subredditName.indexOf('+') > -1 || fakeSubs.includes(subredditName));
}

const randomSubs = ['random', 'randnsfw', 'myrandom'];
const fakeSubs = ['all', 'mod', 'friends'].concat(randomSubs);

export { fakeSubs, randomSubs };

export default function isFakeSubreddit(subredditName) {
  return !!subredditName && (
    subredditName.indexOf('+') > -1 ||
    subredditName.indexOf('-') > -1 ||
    fakeSubs.includes(subredditName)
  );
}

Revert "Revert "Count filtered r/all as a fake subreddit""
Revert "Revert "Count filtered r/all as a fake subreddit""

This reverts commit 2d8b5dc24fdc677d634edb9ae24f35cdcc8d9aa6.
