Browse Source

fix search/new against possible email leakage

pull/297/head
friendica 10 years ago
parent
commit
4e0b0d4e43
  1. 3
      include/conversation.php

3
include/conversation.php

@ -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']))

Loading…
Cancel
Save