fix(ui): thread reply scrolling main list

This commit is contained in:
Salvatore Giordano
2021-09-27 16:57:14 +02:00
parent 771ba10999
commit 9ac85a31a7
@@ -1227,8 +1227,9 @@ class _MessageListViewState extends State<MessageListView> {
_bottomPaginationActive = false;
_topPaginationActive = false;
}
if (event.message!.user!.id ==
streamChannel!.channel.client.state.currentUser!.id) {
if (event.message?.parentId == widget.parentMessage?.id &&
event.message!.user!.id ==
streamChannel!.channel.client.state.currentUser!.id) {
WidgetsBinding.instance!.addPostFrameCallback((_) {
_scrollController?.jumpTo(
index: 0,