From 96c7d3368f4eeef1343dff88f7a98577ddf80423 Mon Sep 17 00:00:00 2001 From: xuemh Date: Sat, 19 May 2018 10:50:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=91=E4=BF=A1=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E6=B1=BD=E5=8C=85=E5=B0=BA=E5=AF=B8=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m b/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m index ca2d8fa..bcdf268 100755 --- a/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m +++ b/Ifish/YunXinIM/NIMKit/NIMKit/Sections/Session/Object/NIMSessionTableAdapter.m @@ -29,6 +29,8 @@ UITableViewCell *cell = nil; id model = [[self.interactor items] objectAtIndex:indexPath.row]; if ([model isKindOfClass:[NIMMessageModel class]]) { + [model calculateContent:tableView.bounds.size.width force:NO]; + cell = [NIMMessageCellFactory cellInTable:tableView forMessageMode:model]; [(NIMMessageCell *)cell setDelegate:self.delegate];