From 05e5f8e966f3a905dc61c6db551af1329d61951d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 14 Aug 2026 17:51:43 +0300 Subject: [PATCH] fix dms timeline pollution --- src/stores/timelines.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stores/timelines.js b/src/stores/timelines.js index e138b7d1d..67b0c20f5 100644 --- a/src/stores/timelines.js +++ b/src/stores/timelines.js @@ -84,6 +84,7 @@ export const useTimelinesStore = defineStore('timelines', { timelineName === 'favourites' && !useInstanceCapabilitiesStore().pleromaPublicFavouritesAvailable ) { + console.warn('Instance doesn\'t support public favorites timeline') return } @@ -218,7 +219,7 @@ export const useTimelinesStore = defineStore('timelines', { // Add the mention to the mentions timeline if (timeline !== this.mentions) { this.addStatusesToTimeline('mentions', null, { - statuses, + statuses: [status], nested: true, }) } @@ -226,7 +227,7 @@ export const useTimelinesStore = defineStore('timelines', { if (status.visibility === 'direct') { if (timeline !== this.dms) { - this.addStatusesToTimeline('dms', null, { statuses, nested: true }) + this.addStatusesToTimeline('dms', null, { statuses: [status], nested: true }) } } })