Skip to content

Commit

Permalink
when meId is null, use me.id
Browse files Browse the repository at this point in the history
  • Loading branch information
juunini committed Jan 4, 2025
1 parent 50bf3a6 commit ea8fc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/entities/NoteEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export class NoteEntityService implements OnModuleInit {
}

if (packed.channel?.anonymous) {
anonymizeNote(packed, meId == null, meId);
anonymizeNote(packed, (meId ?? me?.id) == null, meId ?? me?.id);
}

return packed;
Expand Down

0 comments on commit ea8fc1c

Please sign in to comment.