Update NoteCreateService.ts
This commit is contained in:
parent
c019e9cad5
commit
f0a2c3ce76
|
@ -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}`,
|
||||
|
|
Loading…
Reference in a new issue