prevent email from leaking in feeds

This commit is contained in:
friendica 2012-05-30 19:11:01 -07:00
parent 15c023a218
commit f0cf0ebb48

View file

@ -180,6 +180,10 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
foreach($items as $item) {
// prevent private email from leaking.
if($item['network'] === NETWORK_MAIL)
continue;
// public feeds get html, our own nodes use bbcode
if($public_feed) {