inbox-debug-3
This commit is contained in:
@@ -94,7 +94,7 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0) -> Dict[str, Uni
|
||||
member_ids = c["members"].copy()
|
||||
c["members"] = []
|
||||
for member_id in member_ids:
|
||||
a = CacheStorage.authors_by_id.get(member_id)
|
||||
a = CacheStorage.authors_by_id.get(str(member_id))
|
||||
if a:
|
||||
a["online"] = a.get("id") in members_online
|
||||
c["members"].append(a)
|
||||
|
Reference in New Issue
Block a user