diff --git a/packages/backend/src/server/api/endpoints/notes/polls/vote.ts b/packages/backend/src/server/api/endpoints/notes/polls/vote.ts index c7b0464827..6420fc885b 100644 --- a/packages/backend/src/server/api/endpoints/notes/polls/vote.ts +++ b/packages/backend/src/server/api/endpoints/notes/polls/vote.ts @@ -153,7 +153,7 @@ export default class extends Endpoint { // eslint- userId: me.id, choice: ps.choice, }); - if (!(note.searchableBy === 'private' && note.userHost === null)) { + if (note.userHost === null) { this.advancedSearchService.indexVote(id, { noteId: note.id, userId: me.id,