fix
This commit is contained in:
1 parent
0d9426e291
commit
0eb8516ca6
1 file changed
+1
-1
@@ -352,7 +352,7 @@ export class OneBotMsgApi {
|
|||||||
if (!videoDownUrl) {
|
if (!videoDownUrl) {
|
||||||
if (this.core.apis.PacketApi.available) {
|
if (this.core.apis.PacketApi.available) {
|
||||||
try {
|
try {
|
||||||
videoDownUrl = await this.core.apis.FileApi.getVideoUrlPakcet(msg.chatType, msg.peerUid, element.fileUuid);
|
videoDownUrl = await this.core.apis.FileApi.getVideoUrlPacket(msg.chatType, msg.peerUid, element.fileUuid);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.core.context.logger.logError('获取视频url失败', (e as Error).stack);
|
this.core.context.logger.logError('获取视频url失败', (e as Error).stack);
|
||||||
videoDownUrl = element.filePath;
|
videoDownUrl = element.filePath;
|
||||||
|
|||||||
Reference in new issue
Block a user