fix: 优化群聊展示与群日报生成

This commit is contained in:
电摇小子
2026-07-14 10:19:40 +08:00
committed by 电摇小子
parent 267730d59e
commit e8c12696b2
6 changed files with 206 additions and 70 deletions
+1
View File
@@ -6,6 +6,7 @@ import { GroupReportExportRequest } from '../shared/group-report'
const api = {
initDb: (key: string) => ipcRenderer.invoke('db:init', key),
getContacts: (filter?: string) => ipcRenderer.invoke('db:getContacts', filter),
getContactAvatars: (usernames: string[]) => ipcRenderer.invoke('db:getContactAvatars', usernames),
getMessages: (userMd5: string, startTime?: number, endTime?: number) =>
ipcRenderer.invoke('db:getMessages', userMd5, startTime, endTime),
getGroupSnapshot: (userMd5: string) => ipcRenderer.invoke('db:getGroupSnapshot', userMd5),