release: 2.6.24

This commit is contained in:
手瓜一十雪
2024-10-06 10:07:39 +08:00
parent e3e64a7236
commit 58cc6030f2
6 changed files with 8 additions and 6 deletions

View File

@@ -1 +1 @@
export const napCatVersion = '2.6.23';
export const napCatVersion = '2.6.24';

View File

@@ -396,7 +396,9 @@ export class NTQQFileApi {
return IMAGE_HTTP_HOST + `/download?appid=${imageAppid}&fileid=${imageFileId}&rkey=${rkey}`;
}
} else if (fileMd5 || md5HexStr) {
}
//到这里说明可能是旧客户端
if (fileMd5 || md5HexStr) {
return `${IMAGE_HTTP_HOST}/gchatpic_new/0/0-0-${(fileMd5 ?? md5HexStr)!.toUpperCase()}/0`;
}

View File

@@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V2.6.23', 'napcat-update-button', 'secondary'),
SettingButton('V2.6.24', 'napcat-update-button', 'secondary'),
),
]),
SettingList([