aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/HTTPSig.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Web/HTTPSig.php')
-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;