misskey-awawa/packages/backend/src/models/repositories
Johann150 7db09103e7
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
..
abuse-user-report.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
antenna.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
app.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
auth-session.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
blocking.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
channel.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
clip.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
drive-file.ts use node 16 2022-06-04 17:26:56 +09:00
drive-folder.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
emoji.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
follow-request.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
following.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
gallery-like.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
gallery-post.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
hashtag.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
instance.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
messaging-message.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
moderation-logs.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
muting.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note-favorite.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note-reaction.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note.ts chore: synchronize visibility checks (#8687) 2022-06-11 16:14:44 +09:00
notification.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
page-like.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
page.ts refactor: fix type 2022-04-17 12:59:41 +09:00
relay.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
signin.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-group-invitation.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-group.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-list.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user.ts refactor: improve code quality (#8751) 2022-05-29 15:15:52 +09:00