fix dms timeline pollution
This commit is contained in:
parent
7329c694e4
commit
05e5f8e966
1 changed files with 3 additions and 2 deletions
|
|
@ -84,6 +84,7 @@ export const useTimelinesStore = defineStore('timelines', {
|
||||||
timelineName === 'favourites' &&
|
timelineName === 'favourites' &&
|
||||||
!useInstanceCapabilitiesStore().pleromaPublicFavouritesAvailable
|
!useInstanceCapabilitiesStore().pleromaPublicFavouritesAvailable
|
||||||
) {
|
) {
|
||||||
|
console.warn('Instance doesn\'t support public favorites timeline')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -218,7 +219,7 @@ export const useTimelinesStore = defineStore('timelines', {
|
||||||
// Add the mention to the mentions timeline
|
// Add the mention to the mentions timeline
|
||||||
if (timeline !== this.mentions) {
|
if (timeline !== this.mentions) {
|
||||||
this.addStatusesToTimeline('mentions', null, {
|
this.addStatusesToTimeline('mentions', null, {
|
||||||
statuses,
|
statuses: [status],
|
||||||
nested: true,
|
nested: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -226,7 +227,7 @@ export const useTimelinesStore = defineStore('timelines', {
|
||||||
|
|
||||||
if (status.visibility === 'direct') {
|
if (status.visibility === 'direct') {
|
||||||
if (timeline !== this.dms) {
|
if (timeline !== this.dms) {
|
||||||
this.addStatusesToTimeline('dms', null, { statuses, nested: true })
|
this.addStatusesToTimeline('dms', null, { statuses: [status], nested: true })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue