Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions handlers/monthly_update/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ def on_issue_labeled(self, api, payload):
api.post_comment(MSG % (api.user, REPLY))

def on_new_comment(self, api, payload):
if payload['issue']['state'] != 'open':
return

user = payload['comment']['user']['login']
if user == api.user: # ignore comments from self
return # (since `MSG` already has `REPLY`)
Expand Down
3 changes: 1 addition & 2 deletions handlers/monthly_update/tests/reply.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
},
"action": "created",
"issue": {
"number": 130,
"state": "open"
"number": 130
},
"comment": {
"user": {
Expand Down
Loading