aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-28 08:37:05 +0000
committerMario <mario@mariovavti.com>2021-06-28 08:37:05 +0000
commitd322feeb54d087897e642dbd647a429a9b4beeff (patch)
treea0b7e81d19f36ed3ae6ba554bbb8a892d3287b94 /include
parent842c7b31fb6e34c537d6ebf671327c5a114e573a (diff)
downloadvolse-hubzilla-d322feeb54d087897e642dbd647a429a9b4beeff.tar.gz
volse-hubzilla-d322feeb54d087897e642dbd647a429a9b4beeff.tar.bz2
volse-hubzilla-d322feeb54d087897e642dbd647a429a9b4beeff.zip
more deprecate legacy zot
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
-rw-r--r--include/items.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index fed856e62..331836846 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1053,7 +1053,7 @@ function thread_author_menu($item, $mode = '') {
}
else {
$url = (($item['author']['xchan_addr']) ? $item['author']['xchan_addr'] : $item['author']['xchan_url']);
- if($local_channel && $url && (! in_array($item['author']['xchan_network'],[ 'rss', 'anon','unknown' ]))) {
+ if($local_channel && $url && (! in_array($item['author']['xchan_network'],[ 'rss', 'anon','unknown', 'zot' ]))) {
$follow_url = z_root() . '/follow/?f=&url=' . urlencode($url) . '&interactive=0';
}
}
diff --git a/include/items.php b/include/items.php
index 7fa3a8e71..f451358f8 100644
--- a/include/items.php
+++ b/include/items.php
@@ -3177,7 +3177,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false
"' portable_id='" . $item['author']['xchan_hash'] .
"' avatar='" . $item['author']['xchan_photo_s'] .
"' link='" . $item['plink'] .
- "' auth='" . ((in_array($item['author']['xchan_network'], ['zot6','zot'])) ? 'true' : 'false') .
+ "' auth='" . (($item['author']['xchan_network'] === 'zot6') ? 'true' : 'false') .
"' posted='" . $item['created'] .
"' message_id='" . $item['mid'] .
"']";