fix: websocket for timelines not checking following for muted instance users
Closes #233
This commit is contained in:
parent
fd9ba530ba
commit
9c6a7aed98
4 changed files with 4 additions and 4 deletions
|
|
@ -71,7 +71,7 @@ class BubbleTimelineChannel extends Channel {
|
|||
if (note.renote && note.text == null && (note.fileIds == null || note.fileIds.length === 0) && !this.withRenotes) return;
|
||||
|
||||
// Ignore notes from instances the user has muted
|
||||
if (isInstanceMuted(note, new Set<string>(this.userProfile?.mutedInstances ?? []))) return;
|
||||
if (isInstanceMuted(note, new Set<string>(this.userProfile?.mutedInstances ?? [])) && !this.following[note.userId]) return;
|
||||
|
||||
// 流れてきたNoteがミュートしているユーザーが関わるものだったら無視する
|
||||
if (isUserRelated(note, this.userIdsWhoMeMuting)) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue