This commit is contained in:
@@ -116,7 +116,7 @@ async def load_recipients(_, _info, limit=50, offset=0):
|
||||
"""load possible chat participants"""
|
||||
onliners: List[int] = (await redis.execute("SMEMBERS", "authors-online")) or []
|
||||
r = []
|
||||
my_followings: List[ChatMember] = await get_my_followed()
|
||||
my_followings: List[ChatMember] = get_my_followed()
|
||||
if len(my_followings) < limit:
|
||||
my_followings = my_followings + list(authors_by_id.values())[offset : limit - len(my_followings)]
|
||||
my_followings = list(set(my_followings))
|
||||
|
Reference in New Issue
Block a user