Revert "Override mod status for blocks"

This reverts commit 5a91cc7e1b.
This commit is contained in:
justcool393 2023-07-22 10:23:12 -05:00
parent 5a91cc7e1b
commit 00fa32e459

View file

@ -65,13 +65,13 @@ class VisibilityState:
)
def moderated_body(self, v: User | None, is_blocking: bool=False) -> str | None:
if is_blocking: return f'You are blocking @{self.op_name_safe}'
if v and (v.admin_level >= PERMS['POST_COMMENT_MODERATION'] \
or v.id == self.op_id):
return None
if self.deleted: return 'Deleted'
if self.appear_removed(v): return 'Removed'
if self.filtered: return 'Filtered'
if is_blocking: return f'You are blocking @{self.op_name_safe}'
return None
def visibility_and_message(self, v: User | None, is_blocking: bool) -> tuple[bool, str]: