Make sure we don't receiveFeed() in the case of that exception
This commit is contained in:
@@ -522,6 +522,9 @@ class FeedSub extends Managed_DataObject
|
|||||||
// while reporting receipt to the server.
|
// while reporting receipt to the server.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->receiveFeed($post);
|
||||||
|
|
||||||
} catch (FeedSubBadPushSignatureException $e) {
|
} catch (FeedSubBadPushSignatureException $e) {
|
||||||
// We got a signature, so something could be wrong. Let's check to see if
|
// 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
|
// 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->renew();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->receiveFeed($post);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user