prevent email from leaking in feeds
This commit is contained in:
parent
15c023a218
commit
f0cf0ebb48
|
@ -180,6 +180,10 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
|
||||||
|
|
||||||
foreach($items as $item) {
|
foreach($items as $item) {
|
||||||
|
|
||||||
|
// prevent private email from leaking.
|
||||||
|
if($item['network'] === NETWORK_MAIL)
|
||||||
|
continue;
|
||||||
|
|
||||||
// public feeds get html, our own nodes use bbcode
|
// public feeds get html, our own nodes use bbcode
|
||||||
|
|
||||||
if($public_feed) {
|
if($public_feed) {
|
||||||
|
|
Loading…
Reference in a new issue