fix: config update bug

This commit is contained in:
zhayujie
2024-04-06 01:03:26 +08:00
parent 1da596639f
commit 66a014150b
3 changed files with 5 additions and 5 deletions

View File

@@ -75,6 +75,7 @@ class ChatChannel(Channel):
):
session_id = group_id
else:
logger.debug(f"No need reply, groupName not in whitelist, group_name={group_name}")
return None
context["session_id"] = session_id
context["receiver"] = group_id

View File

@@ -96,7 +96,7 @@ def qrCallback(uuid, status, qrcode):
print(qr_api4)
print(qr_api2)
print(qr_api1)
_send_qr_code([qr_api1, qr_api2, qr_api3, qr_api4])
_send_qr_code([qr_api3, qr_api4, qr_api2, qr_api1])
qr = qrcode.QRCode(border=1)
qr.add_data(url)
qr.make(fit=True)