release: v1.5.4
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s

This commit is contained in:
手瓜一十雪 committed 2024-06-11 15:20:11 +08:00
1 parent 64b2d547ce
commit b9d1d84716
7 files changed
+16 -5

No files matched your search

+1 -1
View File
@@ -190,7 +190,7 @@ export class OB11Constructor {
else if (element.videoElement || element.fileElement) {
const videoOrFileElement = element.videoElement || element.fileElement;
const ob11MessageDataType = element.videoElement ? OB11MessageDataType.video : OB11MessageDataType.file;
let videoDownUrl = await NTQQFileApi.getVideoUrl(msg, element);
let videoDownUrl = element.videoElement ? await NTQQFileApi.getVideoUrl(msg, element) : videoOrFileElement.filePath;
message_data['type'] = ob11MessageDataType;
message_data['data']['file'] = videoOrFileElement.fileName;
message_data['data']['path'] = videoDownUrl;
+1 -1
View File
@@ -1 +1 @@
export const version = '1.5.3';
export const version = '1.5.4';
+1 -1
View File
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.5.3', 'napcat-update-button', 'secondary')
SettingButton('V1.5.4', 'napcat-update-button', 'secondary')
),
]),
SettingList([