vouch-hotfix

This commit is contained in:
2023-10-26 12:00:49 +03:00
parent 9ede9d91dc
commit 8373425d4e
3 changed files with 3 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ async def handle_button(callback_query):
actor["children"].append(str(newcomer_id))
Profile.save(actor)
chat_id = str(callback_query["message"]["chat"]["id"])
chat_id = str(vars(callback_query["message"]["chat"])["id"])
print("accept join request")
r = await approve_chat_join_request(chat_id, newcomer_id)