reverse the logic so we zidify by default
This commit is contained in:
parent
715847bf74
commit
fca405741a
@ -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]),
|
||||
|
Reference in New Issue
Block a user