From fdfb917066e6d6c4693c2da856a5e84f1a3676d1 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Fri, 30 Nov 2018 20:32:22 -0100 Subject: [PATCH] fixing Signed-off-by: Maxence Lange --- appinfo/database.xml | 40 +++++---------------------------- appinfo/info.xml | 2 +- lib/Model/ActivityPub/ACore.php | 4 ++-- 3 files changed, 9 insertions(+), 37 deletions(-) diff --git a/appinfo/database.xml b/appinfo/database.xml index c4c3184f..d2783dc0 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -120,34 +120,6 @@ - - *dbprefix*social_server_activities - - - - id - text - 127 - true - - - - activity - text - 6000 - true - - - - object - text - 127 - true - - - -
- *dbprefix*social_server_notes @@ -160,12 +132,12 @@ true - - - - - - + + type + text + 31 + true + to diff --git a/appinfo/info.xml b/appinfo/info.xml index 7972342a..452e8938 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -15,7 +15,7 @@ **🕸 Open standards:** We use the established ActivityPub standard! ]]> - 0.0.60 + 0.0.62 agpl Maxence Lange Julius Härtl diff --git a/lib/Model/ActivityPub/ACore.php b/lib/Model/ActivityPub/ACore.php index 80f134a4..1d02fd2f 100644 --- a/lib/Model/ActivityPub/ACore.php +++ b/lib/Model/ActivityPub/ACore.php @@ -886,8 +886,8 @@ abstract class ACore implements JsonSerializable { $this->setToArray($this->getArray('to', $data, [])); $this->setCcArray($this->getArray('cc', $data, [])); $this->setPublished($this->get('published', $data, '')); - $this->setActorId($this->get('actor', $data, '')); - $this->setObjectId($this->get('object', $data, '')); + $this->setActorId($this->get('actor_id', $data, '')); + $this->setObjectId($this->get('object_id', $data, '')); $this->setSource($this->get('source', $data, '')); $this->setLocal(($this->getInt('local', $data, 0) === 1)); }