fix(sns): derive per-user totals from timeline counts map

This commit is contained in:
aits2026
2026-03-05 17:44:24 +08:00
parent 38af8de469
commit 3388b7a122
5 changed files with 80 additions and 50 deletions

View File

@@ -1509,6 +1509,10 @@ function registerIpcHandlers() {
return snsService.getSnsUsernames()
})
ipcMain.handle('sns:getUserPostCounts', async () => {
return snsService.getUserPostCounts()
})
ipcMain.handle('sns:getExportStats', async () => {
return snsService.getExportStats()
})