Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net committed Oct 31, 2024
1 parent 70706a9 commit 1706ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/AdvancedSearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export class AdvancedSearchService {
});
}
if (opts.reactionIncrement === false) return;
if (opts.remote && opts.searchableBy === 'private') return;
if (opts.remote && opts.searchableBy && opts.searchableBy === 'private') return;
if ((this.config.opensearch?.reactionSearchLocalOnly ?? false) && opts.remote && opts.reaction.includes('@')) return;

await this.opensearch?.update({
Expand Down

0 comments on commit 1706ea4

Please sign in to comment.