feat(counts): unify contacts and export tab counters
This commit is contained in:
1 parent
794a306f89
commit
da7d354436
8 files changed
+222
-136
No files matched your search
@@ -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