mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
feat(counts): unify contacts and export tab counters
This commit is contained in:
@@ -920,6 +920,10 @@ function registerIpcHandlers() {
|
||||
return chatService.getExportTabCounts()
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getContactTypeCounts', async () => {
|
||||
return chatService.getContactTypeCounts()
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getSessionMessageCounts', async (_, sessionIds: string[]) => {
|
||||
return chatService.getSessionMessageCounts(sessionIds)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user