Fix changelog channel messaging on draft publish.

master
Snakes 2022-10-16 13:49:24 -04:00
parent 3150714c2e
commit 2efe5d1522
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ def publish(pid, v):
cache.delete_memoized(frontlist)
cache.delete_memoized(User.userpagelisting)
send_changelog_message(post.permalink)
if post.sub == 'changelog':
send_changelog_message(post.permalink)
if SITE == 'watchpeopledie.co':
send_wpd_message(post.permalink)