fix search/new against possible email leakage

pull/297/head
friendica 2012-05-11 05:19:29 -07:00
rodzic 20229ce187
commit 4e0b0d4e43
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -278,6 +278,9 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
else
$nickname = $a->user['nickname'];
// prevent private email from leaking.
if($item['network'] === NETWORK_MAIL && local_user() != $item['uid'])
continue;
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
if($item['author-link'] && (! $item['author-name']))