Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
手瓜一十雪 2025-05-07 20:51:28 +08:00 committed by GitHub
parent 1791accab7
commit 5b9e44ddfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -385,7 +385,7 @@ export class OneBotMsgApi {
try {
pttUrl = await this.core.apis.FileApi.getPttUrl(msg.chatType, msg.peerUid, element.fileUuid);
} 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;
}
} else {