Skip to content

Commit e52fa4e

Browse files
committed
Merp
1 parent 8a42984 commit e52fa4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,6 @@ def user_noping(user: str) -> str:
204204
commit_short_id = request.json["comment"]["commit_id"][:7]
205205
comment = request.json["comment"]["body"].replace("\r\n", " ")
206206

207-
# Don't notify the !testme comments
208-
if comment.strip().startswith("!testme"):
209-
return
210-
211207
url = request.json["comment"]["html_url"]
212208

213209
await notify(
@@ -284,6 +280,10 @@ def user_noping(user: str) -> str:
284280
issue_title = request.json["issue"]["title"]
285281
comment = request.json["comment"]["body"].replace("\r\n", " ")
286282

283+
# Don't notify the !testme comments
284+
if comment.strip().startswith("!testme"):
285+
return
286+
287287
if len(comment) > 120:
288288
comment = comment[:120] + "..."
289289

0 commit comments

Comments
 (0)