From bbb56fd198b6cc84a0c783ed54d1640aba75d53d Mon Sep 17 00:00:00 2001 From: adk23333 <2633103794@qq.com> Date: Fri, 22 Dec 2023 00:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E7=BB=99=E6=B2=A1=E5=8A=A0?= =?UTF-8?q?=E5=A5=BD=E5=8F=8B=E7=9A=84=E4=BA=BA=E5=8F=91=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 07a35cc..8f878e3 100644 --- a/server.py +++ b/server.py @@ -167,8 +167,8 @@ async def redirect(rqt: Request): logger.warn(f'该请求不是从QQ中请求的链接') return text('请先从QQ处申请绑定') - msg = Message(content='已在绑定中,可能因为意外而失败\n查询结果使用\n/gitea -ust', room_id=q_user.id) - await app.ctx.sio.emit('sendMessage', msg.to_json()) + # msg = Message(content='已在绑定中,可能因为意外而失败\n查询结果使用\n/gitea -ust', room_id=q_user.id) + # await app.ctx.sio.emit('sendMessage', msg.to_json()) rqt.app.add_task(get_gitea_token(app, {'client_id': app.ctx.sio_config.client_id, 'client_secret': app.ctx.sio_config.client_secret,