mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 01:05:30 +08:00
feat: 完善群聊日报语音转写缓存
支持空内容的微信语音消息并兼容历史缓存转写结果 将系统通知标记为微信系统消息,排除活跃成员与发言排行
This commit is contained in:
1 parent
f9e1ba9372
commit
e62b5ef138
16 files changed
+240
-42
No files matched your search
@@ -1114,6 +1114,10 @@ app.whenReady().then(async () => {
|
||||
return voiceRecognition.recognize(reference)
|
||||
})
|
||||
|
||||
ipcMain.handle('voice:getTranscriptSnapshot', (_, reference: VoiceMessageReference) => {
|
||||
return voiceRecognition?.getTranscriptSnapshot(reference) || { state: 'pending' as const }
|
||||
})
|
||||
|
||||
ipcMain.handle('voice:getBatchPreflight', (_, request: VoiceBatchRequest) => {
|
||||
if (!voiceBatchService) throw new Error('Voice recognition is not initialized')
|
||||
return voiceBatchService.preflight(request)
|
||||
|
||||
Reference in new issue
Block a user