Make sure we don't receiveFeed() in the case of that exception
This commit is contained in:
parent
5288a6f9e2
commit
1ecf709918
|
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user