|
|
@@ -39,7 +39,7 @@ class LNIMConversationCell: UITableViewCell {
|
|
|
titleLabel.textColor = .text_6
|
|
|
onlineView.isHidden = true
|
|
|
} else {
|
|
|
- titleLabel.text = ""
|
|
|
+ titleLabel.text = item.displayName
|
|
|
titleLabel.textColor = .text_5
|
|
|
onlineView.isHidden = !LNIMManager.shared.isUserOnline(uid: item.userID ?? "")
|
|
|
}
|
|
|
@@ -62,8 +62,6 @@ class LNIMConversationCell: UITableViewCell {
|
|
|
}
|
|
|
curItem = item
|
|
|
|
|
|
- titleLabel.text = item.displayName
|
|
|
-
|
|
|
if let userInfo = item.extraInfo?.userInfo {
|
|
|
avatar.sd_setImage(with: URL(string: userInfo.avatar))
|
|
|
} else if let userId = item.userID, !userId.isImOfficialId {
|