diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-06-11 09:14:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-11 16:14:44 +0900 |
| commit | 7db09103e76218f6c867f4a9f1cbc2dd25512e3d (patch) | |
| tree | 755a9b534816938d94bd2fd67976c1b410b193e3 /packages/backend/src/server/api/openapi | |
| parent | New Crowdin updates (#8669) (diff) | |
| download | sharkey-7db09103e76218f6c867f4a9f1cbc2dd25512e3d.tar.gz sharkey-7db09103e76218f6c867f4a9f1cbc2dd25512e3d.tar.bz2 sharkey-7db09103e76218f6c867f4a9f1cbc2dd25512e3d.zip | |
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
Diffstat (limited to 'packages/backend/src/server/api/openapi')
0 files changed, 0 insertions, 0 deletions