fix visibility regressions and merge typos
This commit is contained in:
parent
aba4b537ad
commit
d222fafc1b
2 changed files with 13 additions and 12 deletions
|
|
@ -168,8 +168,10 @@ export class QueryService {
|
|||
.orWhere(':meId = note.replyUserId')
|
||||
// DM to me
|
||||
.orWhere(':meIdAsList <@ note.visibleUserIds')
|
||||
// Mentions me
|
||||
.orWhere(':meIdAsList <@ note.mentions')
|
||||
// Mentions me (and not a direct message)
|
||||
.orWhere(new Brackets(qb =>
|
||||
qb.andWhere(':meIdAsList <@ note.mentions')
|
||||
.andWhere('note.visibility != \'specified\'')))
|
||||
// Followers-only post
|
||||
.orWhere(new Brackets(qb => this
|
||||
.andFollowingUser(qb, ':meId', 'note.userId')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue