From 7be8e96ea13684d0b8e1fb0008cb69a5ff110e5c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 20 Sep 2018 00:04:35 +0300 Subject: ActivityStreams: preferredUsername --- .../main/java/com/juick/server/api/activity/model/Person.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model') diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java index b7bc6547..e314624d 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java @@ -3,6 +3,7 @@ package com.juick.server.api.activity.model; public class Person extends ActivityObject { private String name; + private String preferredUsername; private Image icon; private String inbox; private String outbox; @@ -79,4 +80,12 @@ public class Person extends ActivityObject { public void setPublicKey(Key publicKey) { this.publicKey = publicKey; } + + public String getPreferredUsername() { + return preferredUsername; + } + + public void setPreferredUsername(String preferredUsername) { + this.preferredUsername = preferredUsername; + } } -- cgit v1.2.3