diff options
author | Mario <mario@mariovavti.com> | 2021-10-10 21:13:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-10 21:13:30 +0000 |
commit | f4d59abe411438937889f3423c9c91403c3fcc2e (patch) | |
tree | 51866098f2a860c3cd24909c7a6de13733d7021e /Zotlabs/Web/HTTPSig.php | |
parent | 18de58fd8b9aaa39946e32f1a0be8c00a81c430e (diff) | |
download | volse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.tar.gz volse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.tar.bz2 volse-hubzilla-f4d59abe411438937889f3423c9c91403c3fcc2e.zip |
streamline logic
Diffstat (limited to 'Zotlabs/Web/HTTPSig.php')
-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; |