Commit b5e8d6ae authored by paulina's avatar paulina
Browse files

checking role id and mock_data to test this change

parent 66c81e9a
......@@ -39,7 +39,7 @@ def append_statistics_to_post(post, row, is_pinned):
post['author_role'] = 'guest'
post['author_title'] = ''
post['stats']['gray'] = row['is_grayed'] or row['is_muted']
post['stats']['gray'] = row['is_grayed'] or row['is_muted'] or (row['role_id'] == -2)
if is_pinned:
post['stats']['is_pinned'] = True
return post
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment