Skip to content
Snippets Groups Projects
Commit 801b320e authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: community admins ordered

resteemed->reblogged
parent 4792d2ad
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!410more small changes, get_discussions_by_blog reusing bridge SQL function
......@@ -311,7 +311,8 @@ async def _append_admins(db, communities):
ids = communities.keys()
sql = """SELECT community_id, ha.name FROM hive_roles hr
JOIN hive_accounts ha ON hr.account_id = ha.id
WHERE role_id = 6 AND community_id IN :ids"""
WHERE role_id = 6 AND community_id IN :ids
ORDER BY ha.name"""
for row in await db.query_all(sql, ids=tuple(ids)):
_id = row[0]
if 'admins' not in communities[_id]:
......
......@@ -22,7 +22,7 @@ STRINGS = {
# personal
NotifyType.error: 'error: <payload>',
NotifyType.reblog: '<src> resteemed your post',
NotifyType.reblog: '<src> reblogged your post',
NotifyType.follow: '<src> followed you',
NotifyType.reply: '<src> replied to your post',
NotifyType.reply_comment: '<src> replied to your comment',
......
Subproject commit 69d84d2190462513f45eaffcfe6000466b22ccba
Subproject commit 897cd33f63a910d98433b64ce5dbe17830597d56
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment