fix
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
1791accab7
commit
5b9e44ddfc
1 file changed
+1
-1
@@ -385,7 +385,7 @@ export class OneBotMsgApi {
|
|||||||
try {
|
try {
|
||||||
pttUrl = await this.core.apis.FileApi.getPttUrl(msg.chatType, msg.peerUid, element.fileUuid);
|
pttUrl = await this.core.apis.FileApi.getPttUrl(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);
|
||||||
pttUrl = element.filePath;
|
pttUrl = element.filePath;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user