Skip to content

Commit

Permalink
グローバルに返信も表示する
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed May 16, 2020
1 parent a7a70bf commit 21bbc66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/server/api/endpoints/notes/global-timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default define(meta, async (ps, user) => {
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
.andWhere('note.visibility = \'public\'')
.andWhere('note.replyId IS NULL')
.leftJoinAndSelect('note.user', 'user');

if (user) generateMuteQuery(query, user);
Expand Down
5 changes: 0 additions & 5 deletions src/server/api/stream/channels/global-timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ export default class extends Channel {
});
}

// 返信は除外
if (note.reply) {
return;
}

// 流れてきたNoteがミュートしているユーザーが関わるものだったら無視する
if (shouldMuteThisNote(note, this.muting)) return;

Expand Down

0 comments on commit 21bbc66

Please sign in to comment.