mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
listing: Deleted users should not appear on user listings.
This commit is contained in:
@@ -2726,8 +2726,9 @@ class UserList(Templated):
|
||||
users = Account._byID(uids, True, return_dict = False)
|
||||
rows = []
|
||||
for u in users:
|
||||
editable = editable_fn(u) if editable_fn else self.editable
|
||||
rows.append(self.user_row(row_type, u, editable))
|
||||
if not u._deleted:
|
||||
editable = editable_fn(u) if editable_fn else self.editable
|
||||
rows.append(self.user_row(row_type, u, editable))
|
||||
return rows
|
||||
else:
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user