diff options
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Web/HTTPSig.php | 7 |
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; |