fix: Chat.getInfo should return id

This commit is contained in:
CrescentLeaf
2025-10-04 14:55:06 +08:00
parent 47bbf12176
commit d6f794a094

View File

@@ -48,6 +48,7 @@ export default class ChatApi extends BaseApi {
code: 200, code: 200,
msg: "成功", msg: "成功",
data: { data: {
id: args.target as string,
type: chat.bean.type, type: chat.bean.type,
title: chat.getTitle(mine), title: chat.getTitle(mine),
avatar: chat.getAvatarFileHash(mine) ? "uploaded_files/" + chat.getAvatarFileHash(mine) : undefined avatar: chat.getAvatarFileHash(mine) ? "uploaded_files/" + chat.getAvatarFileHash(mine) : undefined