From: Mikael Nordfeldth Date: Sun, 30 Apr 2017 07:31:16 +0000 (+0200) Subject: Make sure we don't receiveFeed() in the case of that exception X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ecf709918c23508779946934071eece71bb3402;p=quix0rs-gnu-social.git Make sure we don't receiveFeed() in the case of that exception --- diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index 184db68c63..40d2ef99a9 100644 --- a/plugins/OStatus/classes/FeedSub.php +++ b/plugins/OStatus/classes/FeedSub.php @@ -522,6 +522,9 @@ class FeedSub extends Managed_DataObject // while reporting receipt to the server. return; } + + $this->receiveFeed($post); + } catch (FeedSubBadPushSignatureException $e) { // We got a signature, so something could be wrong. Let's check to see if // maybe upstream has switched to another hub. Let's fetch feed and then @@ -536,8 +539,6 @@ class FeedSub extends Managed_DataObject $this->renew(); } } - - $this->receiveFeed($post); } /**