Update NoteCreateService.ts

This commit is contained in:
syuilo 2023-10-02 02:34:04 +09:00
parent c019e9cad5
commit f0a2c3ce76
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ export class NoteCreateService implements OnApplicationShutdown {
private async pushToTl(note: MiNote, user: { id: MiUser['id']; host: MiUser['host']; }) {
const redisPipeline = this.redisClient.pipeline();
if (note.replyId) {
if (note.replyId && note.replyUserId !== note.userId) {
if (note.visibility === 'public' || note.visibility === 'home') {
redisPipeline.xadd(
`userTimelineWithReplies:${user.id}`,