fix(@desktop/chat): fetch more messages fix
This commit is contained in:
parent
b27a52bfce
commit
f755ba44e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue