fix(@desktop/chat): fetch more messages fix

This commit is contained in:
Andrei Smirnov 2021-07-13 16:26:36 +03:00 committed by Iuri Matias
parent b27a52bfce
commit f755ba44e2
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ Item {
readonly property int maxGapInSeconds: Constants.maxNbDaysToFetch * Constants.fetchRangeLast24Hours
visible: {
if (!chatsModel.activeChannel) {
if (!chatsModel.channelView.activeChannel) {
return false
}
return gapNowAndOldest < maxGapInSeconds