reverse the logic so we zidify by default

This commit is contained in:
zotlabs 2017-12-16 15:14:28 -08:00 committed by Mario Vavti
parent 715847bf74
commit fca405741a

View File

@ -1754,11 +1754,11 @@ function get_plink($item,$conversation_mode = true) {
else
$key = 'llink';
$zidify = false;
if(array_key_exists('author',$item) && $item['author']['xchan_network'] === 'zot')
$zidify = true;
if(array_key_exists('author',$item) && $item['author']['xchan_network'] !== 'zot')
$zidify = false;
if(x($item,$key)) {
return array(
'href' => (($zidify) ? zid($item[$key]) : $item[$key]),