[PLUGIN][ActivityPub][Notification] Fix some issues with targetting
This commit is contained in:
@@ -115,6 +115,16 @@ class ActivitypubObject extends Entity
|
||||
return DB::findOneBy($this->getObjectType(), ['id' => $this->getObjectId()]);
|
||||
}
|
||||
|
||||
public function getAttentionTargetIds(): array
|
||||
{
|
||||
return $this->getObject()->getAttentionTargetIds();
|
||||
}
|
||||
|
||||
public function getAttentionTargets(): array
|
||||
{
|
||||
return $this->getObject()->getAttentionTargets();
|
||||
}
|
||||
|
||||
public static function schemaDef(): array
|
||||
{
|
||||
return [
|
||||
|
Reference in New Issue
Block a user