Skip to content

Commit

Permalink
fix: followers / direct renotes will become home renote
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Nov 28, 2023
1 parent 41a0ae6 commit c888fd1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
text: null,
fileIds: [],
hasPoll: false,
visibility: 'public',
}, { visibility: 'home' });
});

Expand All @@ -97,6 +98,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.andWhere('note.text IS NULL')
.andWhere('note.fileIds = \'{}\'')
.andWhere('note.hasPoll = false')
.andWhere('note.visibility = \'home\'')
.getMany();

// remove from funout local timeline
Expand Down

0 comments on commit c888fd1

Please sign in to comment.