summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/salmonqueuehandler.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-26 14:21:21 -0500
committerJames Walker <walkah@walkah.net>2010-02-26 14:22:49 -0500
commit223ebc765c454e030a49df7e2e1b9cdc2b005fe6 (patch)
tree5fb2eae080db3c9c3136e9fe93503d6932fa6db2 /plugins/OStatus/lib/salmonqueuehandler.php
parent3a7eef1074a80150fd428c73d49bcd4fc1b66e89 (diff)
move signing to take a local actor profile and use local keys
Diffstat (limited to 'plugins/OStatus/lib/salmonqueuehandler.php')
-rw-r--r--plugins/OStatus/lib/salmonqueuehandler.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/salmonqueuehandler.php b/plugins/OStatus/lib/salmonqueuehandler.php
index aa97018dc..7eeb5f8e9 100644
--- a/plugins/OStatus/lib/salmonqueuehandler.php
+++ b/plugins/OStatus/lib/salmonqueuehandler.php
@@ -35,8 +35,10 @@ class SalmonQueueHandler extends QueueHandler
assert(is_string($data['salmonuri']));
assert(is_string($data['entry']));
+ $actor = Profile::staticGet($data['actor']);
+
$salmon = new Salmon();
- $salmon->post($data['salmonuri'], $data['entry']);
+ $salmon->post($data['salmonuri'], $data['entry'], $actor);
// @fixme detect failure and attempt to resend
return true;