aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-09 12:16:55 +0000
committerMario <mario@mariovavti.com>2020-10-09 12:16:55 +0000
commit1215618589636fd433d69fa5d81f2aca264beef5 (patch)
treed2416deaa8c2d10f437b786569873f3ba72aad5c /Zotlabs/Lib
parent67533ee47871df2871fb1e2bf58101e278f791d6 (diff)
downloadvolse-hubzilla-1215618589636fd433d69fa5d81f2aca264beef5.tar.gz
volse-hubzilla-1215618589636fd433d69fa5d81f2aca264beef5.tar.bz2
volse-hubzilla-1215618589636fd433d69fa5d81f2aca264beef5.zip
add zot6 to the authenticatable options and fix array key in reshare header
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Share.php b/Zotlabs/Lib/Share.php
index f8b636c10..419e6ed5f 100644
--- a/Zotlabs/Lib/Share.php
+++ b/Zotlabs/Lib/Share.php
@@ -128,7 +128,7 @@ class Share {
"' profile='" . $this->item['author']['xchan_url'] .
"' avatar='" . $this->item['author']['xchan_photo_s'] .
"' link='" . $this->item['plink'] .
- "' auth='" . (($this->item['author']['network'] === 'zot') ? 'true' : 'false') .
+ "' auth='" . ((in_array($this->item['author']['xchan_network'], ['zot6', 'zot'])) ? 'true' : 'false') .
"' posted='" . $this->item['created'] .
"' message_id='" . $this->item['mid'] .
"']";