|
@@ -1083,7 +1083,7 @@ extension ChatViewController: BaseMessageCellDelegate {
|
|
if let quoteMsg = msg.quoteMessage,
|
|
if let quoteMsg = msg.quoteMessage,
|
|
let index = messageIds.firstIndex(of: quoteMsg.id) {
|
|
let index = messageIds.firstIndex(of: quoteMsg.id) {
|
|
let indexPath = IndexPath(row: index, section: 0)
|
|
let indexPath = IndexPath(row: index, section: 0)
|
|
- tableView.scrollToRow(at: indexPath, at: .middle, animated: true)
|
|
|
|
|
|
+ tableView.scrollToRow(at: indexPath, at: .top, animated: true)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|