style: fix lint (CI)

This commit is contained in:
usbharu 2025-02-16 03:01:41 +00:00 committed by github-actions[bot]
parent 5fd181a339
commit e75fc0cc38
1 changed files with 10 additions and 10 deletions

View File

@ -60,16 +60,16 @@ class ExposedStatusQueryServiceImpl : StatusQueryService {
.where {
Posts.visibility eq Visibility.PUBLIC.name or
(Posts.visibility eq Visibility.UNLISTED.name) or
(
Posts.visibility eq Visibility.DIRECT.name and
(PostsVisibleActors.actorId eq principal.actorId.id)
) or
(
Posts.visibility eq Visibility.FOLLOWERS.name and (
Relationships.blocking eq false and
(relationshipsAlias[Relationships.following] eq true)
)
) or
(
Posts.visibility eq Visibility.DIRECT.name and
(PostsVisibleActors.actorId eq principal.actorId.id)
) or
(
Posts.visibility eq Visibility.FOLLOWERS.name and (
Relationships.blocking eq false and
(relationshipsAlias[Relationships.following] eq true)
)
) or
(Posts.actorId eq principal.actorId.id)
}
.alias("authorized_table")