aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-10 21:13:30 +0000
committerMario <mario@mariovavti.com>2021-10-10 21:13:30 +0000
commitf4d59abe411438937889f3423c9c91403c3fcc2e (patch)
tree51866098f2a860c3cd24909c7a6de13733d7021e /Zotlabs
parent18de58fd8b9aaa39946e32f1a0be8c00a81c430e (diff)
downloadvolse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.tar.gz
volse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.tar.bz2
volse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.zip
streamline logic
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/HTTPSig.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index 025629c0f..6905e7326 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -238,11 +238,12 @@ class HTTPSig {
if (strpos($id, '#') === false) {
$key = self::get_webfinger_key($id, $force);
+ if ($key) {
+ return $key;
+ }
}
- if (!$key) {
- $key = self::get_activitystreams_key($id, $force);
- }
+ $key = self::get_activitystreams_key($id, $force);
return $key;