aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-12-18 19:09:15 +0000
committerMario <mario@mariovavti.com>2021-12-18 19:09:15 +0000
commit5aefe0b74f00b199a1f690c1787d26e833d3a2d5 (patch)
tree11f0ffaeb43bae7e73e2947381198f2b2262ad21 /include/conversation.php
parent9c79b5be77da7e5626ca7f0671fe5ed9b1f9c955 (diff)
downloadvolse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.tar.gz
volse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.tar.bz2
volse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.zip
guest token xchan_network = "token" and remove permission checks since the guest tokens are now added to the abook automatically
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index d12151fcc..bdd27c55f 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1061,7 +1061,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', 'zot' ]))) {
+ if($local_channel && $url && (! in_array($item['author']['xchan_network'],[ 'rss', 'anon','unknown', 'zot', 'token']))) {
$follow_url = z_root() . '/follow/?f=&url=' . urlencode($url) . '&interactive=0';
}
}