don't send real-time updates of replies to blocked users
this is in line with the behaviour of a note's detailed view, which does not show me replies from users who blocked me
This commit is contained in:
parent
c4f4041cf8
commit
f086bc23f5
3 changed files with 14 additions and 0 deletions
|
|
@ -831,6 +831,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
if (data.reply) {
|
||||
this.globalEventService.publishNoteStream(data.reply.id, 'replied', {
|
||||
id: note.id,
|
||||
userId: user.id,
|
||||
});
|
||||
// 通知
|
||||
if (data.reply.userHost === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue