keep private emails out of any offsite feeds

This commit is contained in:
Friendika
2011-08-10 21:46:19 -07:00
parent 684ebd2ed8
commit ac4ce27e88
2 changed files with 8 additions and 0 deletions

View File

@@ -153,6 +153,9 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
if($dfrn_id === '') {
$type = 'html';
// catch any email that's in a public conversation and make sure it doesn't leak
if($item['private'])
continue;
}
else {
$type = 'text';