diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-01 18:46:34 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-01 18:48:45 -0800 |
commit | c38ed1bb194ebba9ec73d0b4cde28ea4fb0bd001 (patch) | |
tree | 094bdb3179637fd2d091c59e0632a055d6df6284 /plugins/OStatus/actions/pushhub.php | |
parent | 2c677e0f2d881f0c9f5713fcbc37ad24ef0dab26 (diff) |
High-priority OStatus fixes:
* PuSHing out to multiple client services could fail; only first callback got reached
* Correction for re-sub request to a known sub
Diffstat (limited to 'plugins/OStatus/actions/pushhub.php')
-rw-r--r-- | plugins/OStatus/actions/pushhub.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/pushhub.php b/plugins/OStatus/actions/pushhub.php index f33690bc4..842d65e7d 100644 --- a/plugins/OStatus/actions/pushhub.php +++ b/plugins/OStatus/actions/pushhub.php @@ -104,7 +104,7 @@ class PushHubAction extends Action throw new ClientException("Invalid hub.secret $secret; must be under 200 bytes."); } - $sub = HubSub::staticGet($sub->topic, $sub->callback); + $sub = HubSub::staticGet($topic, $callback); if (!$sub) { // Creating a new one! $sub = new HubSub(); |