forked from GNUsocial/gnu-social
move signing to take a local actor profile and use local keys
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user