fix: 蠢到家的一集之 favouritechat 成精成 recentchats

This commit is contained in:
CrescentLeaf
2025-12-07 15:44:17 +08:00
parent f8f66f0e33
commit 34d46a85f1

View File

@@ -156,7 +156,7 @@ export default class UserMySelf extends User {
token: this.client.access_token
})
if (re.code == 200)
return re.data!.recent_chats as ChatBean[]
return (re.data!.favourite_chats || re.data!.contacts_list) as ChatBean[]
throw new CallbackError(re)
}
async getMyFavouriteChats() {