From 9dd1e92821d78213d5052afb148ed7d45bbe7dff Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 8 Feb 2021 14:41:10 +0100 Subject: [PATCH] fix chat cell not work --- Classes/LinphoneUI/UIChatBubblePhotoCell.m | 1 + Classes/LinphoneUI/UIChatBubbleTextCell.m | 1 + 2 files changed, 2 insertions(+) diff --git a/Classes/LinphoneUI/UIChatBubblePhotoCell.m b/Classes/LinphoneUI/UIChatBubblePhotoCell.m index 33ed9c745..5e62338f4 100644 --- a/Classes/LinphoneUI/UIChatBubblePhotoCell.m +++ b/Classes/LinphoneUI/UIChatBubblePhotoCell.m @@ -52,6 +52,7 @@ chatTableView = VIEW(ChatConversationView).tableController; videoDefaultSize = CGSizeMake(320, 240); assetIsLoaded = FALSE; + self.contentView.userInteractionEnabled = NO; } return self; } diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.m b/Classes/LinphoneUI/UIChatBubbleTextCell.m index 3de3f1168..7e20bc112 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -57,6 +57,7 @@ //[_imdmLabel addGestureRecognizer:resendRecognizer2]; //_imdmLabel.userInteractionEnabled = YES; + self.contentView.userInteractionEnabled = NO; return self; }