fix new emojis not appearing in WPD

master
Aevann 2023-06-24 19:05:19 +03:00
parent dce087fed0
commit c62eec7203
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def marseys(v:User):
@cache.cached(key_prefix="emojis")
@cache.cached(key_prefix="emojis", timeout=86400)
def get_emojis():
emojis = []
for emoji, author in g.db.query(Emoji, User).join(User, Emoji.author_id == User.id).filter(Emoji.submitter_id == None).order_by(Emoji.count.desc()):