fix: correctly hide posts from blocked users

This commit is contained in:
trisua 2025-04-23 17:41:13 -04:00
parent 9a2852f7ba
commit 2460e2f8c5

View file

@ -84,7 +84,7 @@ impl DataManager {
let res = query_rows!(
&conn,
"SELECT * FROM userblocks WHERE receiver = $1",
"SELECT * FROM userblocks WHERE initiator = $1",
&[&(initiator as i64)],
|x| { Self::get_userblock_from_row(x) }
);