diff options
author | Mario <mario@mariovavti.com> | 2021-12-18 19:09:15 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-12-18 19:09:15 +0000 |
commit | 5aefe0b74f00b199a1f690c1787d26e833d3a2d5 (patch) | |
tree | 11f0ffaeb43bae7e73e2947381198f2b2262ad21 /include/conversation.php | |
parent | 9c79b5be77da7e5626ca7f0671fe5ed9b1f9c955 (diff) | |
download | volse-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.php | 2 |
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'; } } |