forked from alemi/upub
fix: show only accepted follows
This commit is contained in:
parent
81d8ee9cdf
commit
9967870ca2
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ pub async fn page<const OUTGOING: bool>(
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut filter = Condition::all()
|
let mut filter = Condition::all()
|
||||||
|
.add(model::relation::Column::Accept.is_not_null())
|
||||||
.add(if OUTGOING { Follower } else { Following }.eq(user.internal));
|
.add(if OUTGOING { Follower } else { Following }.eq(user.internal));
|
||||||
|
|
||||||
if hidden {
|
if hidden {
|
||||||
|
|
Loading…
Reference in a new issue