aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-16 15:14:28 -0800
committerMario Vavti <mario@mariovavti.com>2017-12-17 10:58:14 +0100
commitfca405741ac0043068ed4d2f4b04c92dc74ff9c9 (patch)
tree9b15f63943aa0f1d2651ea3bbca0f152d4fdb0fe /include
parent715847bf748a773b3326e68e94935efdf178f5fe (diff)
downloadvolse-hubzilla-fca405741ac0043068ed4d2f4b04c92dc74ff9c9.tar.gz
volse-hubzilla-fca405741ac0043068ed4d2f4b04c92dc74ff9c9.tar.bz2
volse-hubzilla-fca405741ac0043068ed4d2f4b04c92dc74ff9c9.zip
reverse the logic so we zidify by default
Diffstat (limited to 'include')
-rw-r--r--include/text.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/text.php b/include/text.php
index 02e2a10b5..107efe0cb 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1754,10 +1754,10 @@ function get_plink($item,$conversation_mode = true) {
else
$key = 'llink';
- $zidify = false;
+ $zidify = true;
- 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(