Merge remote-tracking branch 'origin/3.0.0-beta' into typingIndicatorView

This commit is contained in:
Nathan Tannar
2019-04-05 00:11:14 -07:00
19 changed files with 376 additions and 24 deletions
@@ -289,6 +289,10 @@ UICollectionViewDelegateFlowLayout, UICollectionViewDataSource {
let cell = messagesCollectionView.dequeueReusableCell(AudioMessageCell.self, for: indexPath)
cell.configure(with: message, at: indexPath, and: messagesCollectionView)
return cell
case .contact:
let cell = messagesCollectionView.dequeueReusableCell(ContactMessageCell.self, for: indexPath)
cell.configure(with: message, at: indexPath, and: messagesCollectionView)
return cell
case .custom:
return messagesDataSource.customCell(for: message, at: indexPath, in: messagesCollectionView)
}