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
|
|
@ -51,7 +51,7 @@ class HomeTimelineChannel extends Channel {
|
|||
}
|
||||
|
||||
// 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;
|
||||
|
||||
if (note.visibility === 'followers') {
|
||||
if (!isMe && !Object.hasOwn(this.following, note.userId)) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue