don't notify on drafts

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-10 16:34:11 +02:00
parent fe959573ec
commit 4e6c7fe683
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ def submit_post(v, sub=None):
send_discord_message(post.permalink)
cache.delete_memoized(changeloglist)
if SITE == 'watchpeopledie.co':
if not post.private and SITE == 'watchpeopledie.co':
send_wpd_message(post.permalink)
if request.headers.get("Authorization"): return post.json