fix-left-join

This commit is contained in:
2023-09-18 14:02:24 +03:00
parent 0abf216d87
commit 19d0984466
7 changed files with 40 additions and 47 deletions

View File

@@ -42,8 +42,8 @@ async def handle_feedback(msg, state):
async def handle_answer(msg):
logger.info("handle answering feedback")
logger.debug(msg)
if msg.get("reply_to_message"):
answered_msg = msg.get("reply_to_message")
answered_msg = msg.get("reply_to_message")
if answered_msg:
if "from" not in answered_msg:
answered_msg["from"] = vars(msg.from_user)
r = await get_chat_administrators(msg["chat"]["id"])