[backend/core] Fix renote/reply FTS filters being swapped
This commit is contained in:
parent
84190fe489
commit
bfc3140381
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ public static class QueryableFtsExtensions
|
|||
{
|
||||
{ IsFollowers: true } => query.ApplyFollowersFilter(user, filter.Negated),
|
||||
{ IsFollowing: true } => query.ApplyFollowingFilter(user, filter.Negated),
|
||||
{ IsRenotes: true } => query.ApplyRepliesFilter(filter.Negated),
|
||||
{ IsReplies: true } => query.ApplyBoostsFilter(filter.Negated),
|
||||
{ IsRenotes: true } => query.ApplyBoostsFilter(filter.Negated),
|
||||
{ IsReplies: true } => query.ApplyRepliesFilter(filter.Negated),
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(filter))
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue