fix: 修复账号被踢下线后,"刷新二维码"功能无效的问题 - #2030
Open
five-plus-one wants to merge 1 commit into
Open
Conversation
📦 构建产物
📋 构建信息
🚀 快速安装 (Linux)直连(需要能访问 GitHub) curl -sSL https://github.com/NapNeko/napcat-pr-release/releases/download/pr-2030-fec2fb9/install.sh | bash加速(国内推荐,ghfast.top) curl -sSL https://gh.llkk.cc/https://github.com/NapNeko/napcat-pr-release/releases/download/pr-2030-fec2fb9/install.sh | bash
|
five-plus-one
marked this pull request as ready for review
August 21, 2026 10:34
📋 构建信息
🚀 快速使用拉取镜像 docker pull mlikiowa/napcat-docker:pr-2030-fec2fb9启动容器 docker run -d \
--name napcat-pr-test \
-e NAPCAT_UID=$(id -u) \
-e NAPCAT_GID=$(id -g) \
-e WEBUI_TOKEN=napcat \
-p 6099:6099 \
-p 3000:3000 \
-p 3001:3001 \
-v ./napcat/config:/app/napcat/config \
-v ./napcat/QQ:/app/.config/QQ \
mlikiowa/napcat-docker:pr-2030-fec2fb9
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
QQ 账号被强制下线后,WebUI 仍可能显示已失效的旧二维码;点击刷新二维码时,原生 QQ 登录服务有时无法重新生成二维码。 #1962 #2027
此前若由刷新接口直接重启 Worker,会中断正在执行的 HTTP 请求,导致前端出现
ERR_EMPTY_RESPONSE、刷新失败或持续加载;部分情况下即使已经完成登录,页面也可能仍停留在扫码登录界面。修改内容
KickedOffLine后立即清空旧二维码,避免继续展示或扫描已失效二维码。验证
mlikiowa/napcat-docker:latest测试容器中验证: