This commit is contained in:
Aevann1 2021-10-21 01:17:07 +02:00
parent 8f3b07ab3f
commit cd489bfe0a

View file

@ -100,6 +100,7 @@ def api_vote_post(post_id, new, v):
if post.stickied and post.stickied.startswith("t:") and int(time.time()) > int(post.stickied[2:]):
post.stickied = None
g.db.add(post)
cache.delete_memoized(frontlist)
try:
g.db.flush()