Commit e117d5b2 authored by Alex朱枝文's avatar Alex朱枝文

SDK调整:增加屏蔽点击聊天消息头像事件

parent 4d68d303
......@@ -48,6 +48,8 @@
// 是否隐藏更多按钮
@property(nonatomic, assign) BOOL needHideNaviMore;
// 是否选中cell头像
@property(nonatomic, assign) BOOL needHideCellAvatar;
// 文件预览代理
@property(nonatomic, weak) id<TUICustomOpenFileDelegate> filePreviewDelegate;
......
......@@ -950,6 +950,9 @@ static CGRect gCustomTopViewRect;
}
- (void)messageController:(TUIBaseMessageController *)controller onSelectMessageAvatar:(TUIMessageCell *)cell {
if (self.needHideCellAvatar) {
return;
}
NSString *userID = nil;
if (cell.messageData.innerMessage.groupID.length > 0) {
userID = cell.messageData.innerMessage.sender;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment