diff --git a/src/components/status/status.js b/src/components/status/status.js
index 5036b1b80..f3e3ff154 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -322,15 +322,15 @@ const Status = {
shouldNotMute() {
if (this.ignoreMute) return true
if (this.focused) return true
- const { reblog } = this.status
+ const { reblog } = this.mainStatus
return (
((this.inProfile &&
// Don't mute user's posts on user timeline (except reblogs)
- ((!reblog && status.user.id === this.profileUserId) ||
+ ((!reblog && this.mainStatus.user.id === this.profileUserId) ||
// Same as above but also allow self-reblogs
reblog?.user.id === this.profileUserId)) ||
// Don't mute statuses in muted conversation when said conversation is opened
- (this.inConversation && status.thread_muted)) &&
+ (this.inConversation && this.mainStatus.thread_muted)) &&
// No excuses if post has muted words
!this.muteFilterHits.length > 0
)
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 188adfaba..38bf1387c 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -38,7 +38,6 @@ const Timeline = {
showScrollTop: false,
paused: false,
unfocused: false,
- bottomedOut: false,
virtualScrollIndex: 0,
blockingClicks: false,
}
@@ -183,16 +182,7 @@ const Timeline = {
},
fetchOlderStatuses: throttle(
function () {
- this.timeline.fetcher
- .fetchAndUpdate({
- older: true,
- showImmediately: true,
- })
- .then(({ statuses }) => {
- if (statuses?.length === 0) {
- this.bottomedOut = true
- }
- })
+ this.timeline.fetcher.fetchOlder()
},
1000,
this,
@@ -222,7 +212,7 @@ const Timeline = {
let err = statuses[approxIndex].getBoundingClientRect().y
// if we have a previous scroll index that can be used, test if it's
- // closer than the previous approximation, use it if so
+
const virtualScrollIndexY =
statuses[cappedScrollIndex].getBoundingClientRect().y
@@ -250,7 +240,7 @@ const Timeline = {
const bodyBRect = document.body.getBoundingClientRect()
const height = Math.max(bodyBRect.height, -bodyBRect.y)
if (
- this.timeline.loading === false &&
+ !this.timeline.fetcher.loading.value &&
this.$el.offsetHeight > 0 &&
window.innerHeight + window.pageYOffset >= height - 750
) {
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index bc0c506d6..745d8c399 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -90,19 +90,19 @@
:disabled="!embedded || !footerSlipgate"
>
{{ $t('timeline.no_statuses') }}
{{ $t('timeline.no_more_statuses') }}