mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-23 03:15:14 +00:00
really fix post filtering
This commit is contained in:
parent
9328edfdcd
commit
d376d2a590
1 changed files with 4 additions and 3 deletions
|
@ -1638,9 +1638,10 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$ab = q("select abook.* from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d
|
$ab = q("select * from abook where abook_channel = %d
|
||||||
and abook_self = 0",
|
and abook_xchan = '%s'",
|
||||||
intval($channel['channel_id'])
|
intval($channel['channel_id']),
|
||||||
|
$arr['owner_xchan']
|
||||||
);
|
);
|
||||||
$abook = (($ab) ? $ab[0] : null);
|
$abook = (($ab) ? $ab[0] : null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue