fix: correctly hide posts from blocked users
This commit is contained in:
parent
9a2852f7ba
commit
2460e2f8c5
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ impl DataManager {
|
||||||
|
|
||||||
let res = query_rows!(
|
let res = query_rows!(
|
||||||
&conn,
|
&conn,
|
||||||
"SELECT * FROM userblocks WHERE receiver = $1",
|
"SELECT * FROM userblocks WHERE initiator = $1",
|
||||||
&[&(initiator as i64)],
|
&[&(initiator as i64)],
|
||||||
|x| { Self::get_userblock_from_row(x) }
|
|x| { Self::get_userblock_from_row(x) }
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue