This commit is contained in:
启星
2025-08-08 10:49:36 +08:00
parent 6400cf78bb
commit b5ce3d580a
8780 changed files with 978183 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
//
// TUIRelationUserModel.m
// TIMCommon
//
// Created by wyl on 2023/12/5.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIRelationUserModel.h"
#import <TIMCommon/TIMDefine.h>
@implementation TUIRelationUserModel
- (NSString *)getDisplayName {
if (IS_NOT_EMPTY_NSSTRING(self.nameCard)) {
return self.nameCard;
} else if (IS_NOT_EMPTY_NSSTRING(self.friendRemark)) {
return self.friendRemark;
} else if (IS_NOT_EMPTY_NSSTRING(self.nickName)) {
return self.nickName;
} else {
return self.userID;
}
return @"";
}
@end