fix channel handling

This commit is contained in:
John Gibbon 2020-11-18 10:34:46 +01:00
parent 13fbd8e7a6
commit 77efd43bde

View file

@ -57,9 +57,8 @@ ChatInformationTabItemBase {
handleScrollIntoView()
}
onAtYEndChanged: {
if(tabBase.active && !tabBase.loading && chatInformationPage.isSuperGroup && (chatInformationPage.groupInformation.member_count > membersView.count) && membersView.atYEnd) {
if(tabBase.active && !tabBase.loading && chatInformationPage.isSuperGroup && !chatInformationPage.isChannel && (chatInformationPage.groupInformation.member_count > membersView.count) && membersView.atYEnd) {
tabBase.loading = true;
console.log("LOAD MEMBERS BECAUSE ATYEND")
fetchMoreMembersTimer.start()
}
}