aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.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/connections.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/connections.php')
-rw-r--r--include/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 98cd4bbb5..a0a9e04a7 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -114,7 +114,7 @@ function vcard_from_xchan($xchan, $observer = null, $mode = '') {
// don't provide a connect button for transient or one-way identities
- if(in_array($xchan['xchan_network'],['rss','anon','unknown']) || strpos($xchan['xchan_addr'],'guest:') === 0) {
+ if(in_array($xchan['xchan_network'],['rss', 'anon', 'unknown', 'token'])) {
$connect = false;
}