mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 06:51:09 +00:00
style: fix lint (CI)
This commit is contained in:
+10
-10
@@ -60,16 +60,16 @@ class ExposedStatusQueryServiceImpl : StatusQueryService {
|
|||||||
.where {
|
.where {
|
||||||
Posts.visibility eq Visibility.PUBLIC.name or
|
Posts.visibility eq Visibility.PUBLIC.name or
|
||||||
(Posts.visibility eq Visibility.UNLISTED.name) or
|
(Posts.visibility eq Visibility.UNLISTED.name) or
|
||||||
(
|
(
|
||||||
Posts.visibility eq Visibility.DIRECT.name and
|
Posts.visibility eq Visibility.DIRECT.name and
|
||||||
(PostsVisibleActors.actorId eq principal.actorId.id)
|
(PostsVisibleActors.actorId eq principal.actorId.id)
|
||||||
) or
|
) or
|
||||||
(
|
(
|
||||||
Posts.visibility eq Visibility.FOLLOWERS.name and (
|
Posts.visibility eq Visibility.FOLLOWERS.name and (
|
||||||
Relationships.blocking eq false and
|
Relationships.blocking eq false and
|
||||||
(relationshipsAlias[Relationships.following] eq true)
|
(relationshipsAlias[Relationships.following] eq true)
|
||||||
)
|
)
|
||||||
) or
|
) or
|
||||||
(Posts.actorId eq principal.actorId.id)
|
(Posts.actorId eq principal.actorId.id)
|
||||||
}
|
}
|
||||||
.alias("authorized_table")
|
.alias("authorized_table")
|
||||||
|
|||||||
Reference in New Issue
Block a user