toggle hidden comment with arrow left or h
This commit is contained in:
@@ -229,6 +229,10 @@ class SubmissionContent(BaseContent):
|
||||
else:
|
||||
raise ValueError('% type not recognized' % data['type'])
|
||||
|
||||
def is_hidden_comment(self, index):
|
||||
data = self.get(index)
|
||||
return data['type'] == 'HiddenComment'
|
||||
|
||||
|
||||
class SubredditContent(BaseContent):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user