diff --git a/highfive/newpr.py b/highfive/newpr.py index 386f9cd3..c422b7ef 100644 --- a/highfive/newpr.py +++ b/highfive/newpr.py @@ -352,7 +352,7 @@ def get_to_mention(self, diff, author): mention_list = [] for mention in to_mention: entry = mentions[mention] - if entry["reviewers"] != author: + if author not in entry["reviewers"]: mention_list.append(entry) return mention_list