fix:修复某些登录问题

This commit is contained in:
Jerry 2025-10-01 00:34:20 +08:00
parent 9da541e99c
commit 7b0bc74755

View File

@ -226,7 +226,7 @@ export default class LoginService extends plugin {
const qrPath = await loginInstance.login(qq, nickname); const qrPath = await loginInstance.login(qq, nickname);
if (qrPath || qrPath !== 'none') { if (qrPath || qrPath !== 'none') {
e.reply(segment.image(qrPath), true); e.reply(segment.image(`file:///${qrPath}`), true);
const timerKey = `login:timer:${qq}`; const timerKey = `login:timer:${qq}`;
await redis.set(timerKey, 120, 'pending'); await redis.set(timerKey, 120, 'pending');