auth-req-fix
All checks were successful
deploy / deploy (push) Successful in 1m5s

This commit is contained in:
2023-12-18 00:10:29 +03:00
parent 3cccf97198
commit 844f32f204
2 changed files with 5 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ async def load_recipients(_, _info, limit=50, offset=0):
my_followings: List[ChatMember] = await get_my_followed()
if all_authors:
if len(my_followings) < limit:
my_followings = my_followings + all_authors[0 : limit - len(my_followings)]
my_followings = my_followings + list(all_authors)[0 : limit - len(my_followings)]
for a in my_followings:
a["online"] = a["id"] in onliners
r.append(a)