fix: missing contact type of contactsList

This commit is contained in:
CrescentLeaf
2025-10-04 16:12:41 +08:00
parent 86d68fd5e5
commit 697082193f

View File

@@ -251,6 +251,7 @@ export default class UserApi extends BaseApi {
const chat = Chat.findById(id)
return {
id,
type: chat.bean.type,
title: chat?.getTitle(user) || "未知",
avatar: chat?.getAvatarFileHash(user) ? "uploaded_files/" + chat?.getAvatarFileHash(user) : undefined
}