fix user's DMs not showing up in their own home timeline when Fanout Timeline is enabled
This commit is contained in:
parent
1eb20ded64
commit
e68e0266a4
1 changed files with 1 additions and 1 deletions
|
|
@ -988,7 +988,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
|
||||
// 自分自身のHTL
|
||||
if (note.userHost == null) {
|
||||
if (note.visibility !== 'specified' || !note.visibleUserIds.some(v => v === user.id)) {
|
||||
if (note.visibility !== 'specified' || !note.visibleUserIds.some(v => v === user.id) || note.userId === user.id) {
|
||||
this.fanoutTimelineService.push(`homeTimeline:${user.id}`, note.id, this.meta.perUserHomeTimelineCacheMax, r);
|
||||
if (note.fileIds.length > 0) {
|
||||
this.fanoutTimelineService.push(`homeTimelineWithFiles:${user.id}`, note.id, this.meta.perUserHomeTimelineCacheMax / 2, r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue