fix(@desktop/chat): fix replying to message at early chat

When replying to a chat, we were reloading messages and rerendering
the messages which were causing issue with the reply id

fixes #3219
This commit is contained in:
Anthony Laibe 2021-08-13 13:33:11 +02:00 committed by RichΛrd
parent 153cfeb138
commit 6ae4568807
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ Item {
onContentYChanged: {
scrollDownButton.visible = (contentHeight - (scrollY + height) > 400)
if(scrollY < 500){
if(scrollDownButton.visible && scrollY < 500){
loadMsgs();
}
}