mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
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…
x
Reference in New Issue
Block a user