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];