opt: whisper data

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-05 11:24:12 +08:00
parent daf01df5aa
commit f467532f9d
3 changed files with 6 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ class AccountListModel {
mid = json['mid'];
name = json['name'] ?? '';
sex = json['sex'];
face = json['face'];
face = json['face'] ?? json['pic_url'];
sign = json['sign'];
rank = json['rank'];
level = json['level'];

View File

@@ -47,6 +47,7 @@ class SessionList {
this.liveStatus,
this.bizMsgUnreadCount,
// this.userLabel,
this.accountInfo,
});
int? talkerId;
@@ -105,6 +106,9 @@ class SessionList {
liveStatus = json["live_status"];
bizMsgUnreadCount = json["biz_msg_unread_count"];
// userLabel = json["user_label"];
accountInfo = json['account_info'] == null
? null
: AccountListModel.fromJson(json['account_info']);
}
}