群聊单个成员消息导出

This commit is contained in:
xuncha
2026-02-19 16:49:00 +08:00
parent d5f0094025
commit 89783b4d45
6 changed files with 366 additions and 3 deletions

View File

@@ -1116,6 +1116,13 @@ function registerIpcHandlers() {
return groupAnalyticsService.exportGroupMembers(chatroomId, outputPath)
})
ipcMain.handle(
'groupAnalytics:exportGroupMemberMessages',
async (_, chatroomId: string, memberUsername: string, outputPath: string, startTime?: number, endTime?: number) => {
return groupAnalyticsService.exportGroupMemberMessages(chatroomId, memberUsername, outputPath, startTime, endTime)
}
)
// 打开协议窗口
ipcMain.handle('window:openAgreementWindow', async () => {
createAgreementWindow()
@@ -1350,7 +1357,8 @@ function registerIpcHandlers() {
ipcMain.handle('http:status', async () => {
return {
running: httpService.isRunning(),
port: httpService.getPort()
port: httpService.getPort(),
mediaExportPath: httpService.getDefaultMediaExportPath()
}
})