release: 1.8.5
Build Release / check-version (push) Canceled after 0s
Build Release / build-linux (arm64, linux) (push) Canceled after 0s
Build Release / build-linux (x64, linux) (push) Canceled after 0s
Build Release / build-win32 (ia32, win32) (push) Canceled after 0s
Build Release / build-win32 (x64, win32) (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / build-linux (arm64, linux) (push) Canceled after 0s
Build Release / build-linux (x64, linux) (push) Canceled after 0s
Build Release / build-win32 (ia32, win32) (push) Canceled after 0s
Build Release / build-win32 (x64, win32) (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
This commit is contained in:
1 parent
827df80ec8
commit
717b246cb6
5 files changed
+11
-9
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "napcat",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"scripts": {
|
||||
"watch:dev": "vite --mode development",
|
||||
"watch:prod": "vite --mode production",
|
||||
|
||||
@@ -228,16 +228,18 @@ export class OB11Constructor {
|
||||
const videoElement: VideoElement = element.videoElement;
|
||||
//读取视频链接并兜底
|
||||
let videoUrl;//Array
|
||||
let peer:Peer = {
|
||||
chatType: msg.chatType,
|
||||
peerUid: msg.peerUid,
|
||||
guildId: '0'
|
||||
};
|
||||
if (msg.peerUin == '284840486') {
|
||||
peer = msg.parentMsgPeer;
|
||||
//合并消息内部 应该进行特殊处理 可能需要重写peer 待测试与研究 Mlikiowa Taged TODO
|
||||
}
|
||||
try {
|
||||
|
||||
videoUrl = await NTQQFileApi.getVideoUrl({
|
||||
chatType: msg.chatType,
|
||||
peerUid: msg.peerUid,
|
||||
guildId: '0'
|
||||
}, msg.msgId, element.elementId);
|
||||
videoUrl = await NTQQFileApi.getVideoUrl(peer, msg.msgId, element.elementId);
|
||||
} catch (error) {
|
||||
videoUrl = undefined;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = '1.8.4';
|
||||
export const version = '1.8.5';
|
||||
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
undefined,
|
||||
SettingButton('V1.8.4', 'napcat-update-button', 'secondary')
|
||||
SettingButton('V1.8.5', 'napcat-update-button', 'secondary')
|
||||
),
|
||||
]),
|
||||
SettingList([
|
||||
|
||||
@@ -163,7 +163,7 @@ async function onSettingWindowCreated(view) {
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
void 0,
|
||||
SettingButton("V1.8.4", "napcat-update-button", "secondary")
|
||||
SettingButton("V1.8.5", "napcat-update-button", "secondary")
|
||||
)
|
||||
]),
|
||||
SettingList([
|
||||
|
||||
Reference in new issue
Block a user