[backend/streaming] Fix typo that caused block/mute checks to do the opposite of what they're supposed to do
This commit is contained in:
parent
6b5a5a1a09
commit
5fd34e690d
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ public sealed class StreamingConnectionAggregate : IDisposable
|
||||||
|
|
||||||
[SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")]
|
[SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")]
|
||||||
private bool IsFiltered(User user) =>
|
private bool IsFiltered(User user) =>
|
||||||
!_blockedBy.Contains(user.Id) && !_blocking.Contains(user.Id) && !_muting.Contains(user.Id);
|
_blockedBy.Contains(user.Id) || _blocking.Contains(user.Id) || _muting.Contains(user.Id);
|
||||||
|
|
||||||
[SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")]
|
[SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")]
|
||||||
private bool IsFollowingOrSelf(User user) => user.Id == _userId || _following.Contains(user.Id);
|
private bool IsFollowingOrSelf(User user) => user.Id == _userId || _following.Contains(user.Id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue