mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
UserListing: Skip deleted users.
This commit is contained in:
@@ -744,5 +744,8 @@ class UserListBuilder(QueryBuilder):
|
||||
rel._thing2 = accounts.get(rel._thing2_id)
|
||||
return rels
|
||||
|
||||
def must_skip(self, item):
|
||||
return item.user._deleted
|
||||
|
||||
def wrap_items(self, rels):
|
||||
return [self.wrap(rel) for rel in rels]
|
||||
|
||||
Reference in New Issue
Block a user