mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
群聊单个成员消息导出
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user