Commit graph

5 commits

Author SHA1 Message Date
Laura Hausmann 6d715cfef5
[backend] Don't return local only notes for guest users 2023-11-02 18:47:54 +01:00
ThatOneCalculator 2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Johann150 e161c0abe4 chore: synchronize visibility checks (#8687)
* reuse single meId parameter

* unify code style

Use template string to avoid having to use escaped quote marks.

* fix: follower only notes are visible to mentioned users

This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts

* add comment
2022-06-11 16:14:44 +09:00
syuilo 94228778c9 refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00
syuilo 14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/server/api/common/generate-visibility-query.ts (Browse further)