forked from GNUsocial/gnu-social
Salmon posts can only be made for local users. More typing!
Since we of course don't have the remote party's private keys anyway. I made some small fixes in Magicsig class too, removing unnecessary code.
This commit is contained in:
@@ -41,8 +41,7 @@ class SalmonQueueHandler extends QueueHandler
|
||||
|
||||
$actor = Profile::getKV($data['actor']);
|
||||
|
||||
$salmon = new Salmon();
|
||||
$salmon->post($data['salmonuri'], $data['entry'], $actor);
|
||||
Salmon::post($data['salmonuri'], $data['entry'], $actor->getUser());
|
||||
|
||||
// @fixme detect failure and attempt to resend
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user