From 2efe5d15223e92019f3d31a66b83eb98a967a915 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sun, 16 Oct 2022 13:49:24 -0400 Subject: [PATCH] Fix changelog channel messaging on draft publish. --- files/routes/posts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 4af04c763..f3e511687 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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)