prevent email from leaking in feeds

pull/319/head
friendica 2012-05-30 19:11:01 -07:00
rodzic 15c023a218
commit f0cf0ebb48
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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) {