This commit is contained in:
codl 2017-08-13 11:16:43 +02:00
parent 88b0eb121b
commit 6e39874578
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def refresh_posts(posts):
def refresh_account(account_id):
account = Account.query.get(account_id)
posts = Post.query.with_parent(account).filter(Post.id != oldest_post.id).order_by(db.asc(Post.updated_at)).limit(100).all()
posts = Post.query.with_parent(account).order_by(db.asc(Post.updated_at)).limit(100).all()
posts = refresh_posts(posts)
account.touch_refresh()