[COMPONENT][FreeNetwork] Add to Search the query expression

This commit is contained in:
2022-02-21 04:53:12 +00:00
parent c380cbd846
commit 57a07ef74f
3 changed files with 57 additions and 7 deletions

View File

@@ -62,12 +62,12 @@ use Plugin\ActivityPub\Util\Model;
*/
class Actor extends Model
{
private static array $_gs_actor_type_to_as2_actor_type = [
public static array $_gs_actor_type_to_as2_actor_type = [
GSActor::PERSON => 'Person',
GSActor::GROUP => 'Group',
GSActor::BOT => 'Application',
];
private static array $_as2_actor_type_to_gs_actor_type = [
public static array $_as2_actor_type_to_gs_actor_type = [
'Person' => GSActor::PERSON,
'Group' => GSActor::GROUP,
'Organization' => GSActor::GROUP,