aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api/activity/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-20 00:04:35 +0300
committerGravatar Vitaly Takmazov2018-09-20 00:04:35 +0300
commit7be8e96ea13684d0b8e1fb0008cb69a5ff110e5c (patch)
treec5cda94c1d8dad7545acb9a5cb01a679aa0ade30 /juick-server/src/main/java/com/juick/server/api/activity/model
parentb730ab2062091a9e1f0e1d8a5473a764800c1df5 (diff)
ActivityStreams: preferredUsername
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/model/Person.java9
1 files changed, 9 insertions, 0 deletions
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;
+ }
}