diff --git a/files/routes/posts.py b/files/routes/posts.py index e6949041f..1db6a5d09 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1169,7 +1169,7 @@ def submit_post(v): if request.headers.get("Authorization"): return new_post.json else: - new_post = get_post(new_post.id) + new_post.voted = 1 if 'megathread' in new_post.title.lower(): sort = 'new' else: sort = v.defaultsortingcomments new_post.replies = [c] diff --git a/files/templates/sidebar_PCM.html b/files/templates/sidebar_PCM.html index 1b2f1cb59..cd9f8b53a 100644 --- a/files/templates/sidebar_PCM.html +++ b/files/templates/sidebar_PCM.html @@ -1 +1,7 @@ -The true home of IP2 \ No newline at end of file + \ No newline at end of file