From b18f92ea72c2fe5c0e9b797a9bcfe63acd57b432 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Sep 2021 20:46:59 +0000 Subject: [PATCH 1/2] Fixed indendation --- src/Protocol/ActivityPub.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 9a5f06004d..85a387229f 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -70,8 +70,7 @@ class ActivityPub 'directMessage' => 'litepub:directMessage', 'discoverable' => 'toot:discoverable', 'PropertyValue' => 'schema:PropertyValue', - 'value' => 'schema:value', -]]; + 'value' => 'schema:value']]; const ACCOUNT_TYPES = ['Person', 'Organization', 'Service', 'Group', 'Application', 'Tombstone']; /** * Checks if the web request is done for the AP protocol From a689db7b64cfdb182a7ddbe494e6f2daa88dab20 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 14 Sep 2021 23:22:57 +0200 Subject: [PATCH 2/2] Update src/Protocol/ActivityPub.php Co-authored-by: Hypolite Petovan --- src/Protocol/ActivityPub.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 85a387229f..a348541522 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -70,7 +70,8 @@ class ActivityPub 'directMessage' => 'litepub:directMessage', 'discoverable' => 'toot:discoverable', 'PropertyValue' => 'schema:PropertyValue', - 'value' => 'schema:value']]; + 'value' => 'schema:value', + ]]; const ACCOUNT_TYPES = ['Person', 'Organization', 'Service', 'Group', 'Application', 'Tombstone']; /** * Checks if the web request is done for the AP protocol