[ActivityPub] Fix WebFinger event subscription
ActivityPubPlugin: - remove reference to the first argument of onEndWebFingerProfileLinks, no need as it is an object
This commit is contained in:
parent
054f4e77f5
commit
7fa5ddfc44
@ -420,7 +420,7 @@ class ActivityPubPlugin extends Plugin
|
|||||||
* @throws Exception
|
* @throws Exception
|
||||||
* @author Diogo Cordeiro <diogo@fc.up.pt>
|
* @author Diogo Cordeiro <diogo@fc.up.pt>
|
||||||
*/
|
*/
|
||||||
public function onEndWebFingerProfileLinks(XML_XRD &$xrd, Managed_DataObject $object)
|
public function onEndWebFingerProfileLinks(XML_XRD $xrd, Managed_DataObject $object)
|
||||||
{
|
{
|
||||||
if ($object->isPerson()) {
|
if ($object->isPerson()) {
|
||||||
$link = new XML_XRD_Element_Link(
|
$link = new XML_XRD_Element_Link(
|
||||||
|
Loading…
Reference in New Issue
Block a user