diff options
author | Vitaly Takmazov | 2019-07-10 13:34:38 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-07-10 13:34:38 +0300 |
commit | 583f02bebd9d383b1b1ecf1ca499f77ea5696960 (patch) | |
tree | 1c63ee731133d2620e6bbfab3b303bd12442b81e /src/main/java/com/juick/server/api/activity/model/objects | |
parent | 3188babc5e9acb46816a6d4a917c31340af11298 (diff) |
Revert "ActivityPub contexts already have type, no need to duplicate"
This reverts commit 3188babc5e9acb46816a6d4a917c31340af11298.
Diffstat (limited to 'src/main/java/com/juick/server/api/activity/model/objects')
-rw-r--r-- | src/main/java/com/juick/server/api/activity/model/objects/Person.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/juick/server/api/activity/model/objects/Person.java b/src/main/java/com/juick/server/api/activity/model/objects/Person.java index a6fd9a76..2d3a45d7 100644 --- a/src/main/java/com/juick/server/api/activity/model/objects/Person.java +++ b/src/main/java/com/juick/server/api/activity/model/objects/Person.java @@ -14,6 +14,11 @@ public class Person extends Context { private String followers; private Key publicKey; + @Override + public String getType() { + return "Person"; + } + public String getName() { return name; } |