fix: 修复联系人 API 因昵称备注未补全导致搜索结果为空 #51

Fixes https://github.com/Wxw-Gu/TraceMemo/issues/51
This commit is contained in:
电摇小子
2026-09-29 10:47:33 +07:00
parent 4d5c6459fe
commit 97c74859c0
5 changed files with 265 additions and 4 deletions
+1
View File
@@ -40,6 +40,7 @@ vi.mock('electron', () => ({
vi.mock('../../src/main/services/chat-service', () => ({
isReady: () => true,
listContacts: () => fixture.contacts,
listContactsAsync: async () => fixture.contacts,
listMessages: () => fixture.chatlogMessages,
getGroupSnapshot: () => ({ members: [] }),
listRecentChat: () => [],