diff options
author | 2018-10-04 13:25:34 +0300 | |
---|---|---|
committer | 2018-10-04 13:25:34 +0300 | |
commit | fdc329f367e5685cc9d4b0654f53eaa03818e905 (patch) | |
tree | dee8b3c8a693d910df8bb86f5f65345518de1049 /juick-server/src/main/java/com/juick/server/api | |
parent | d4fc7a5dc48a37facb8381a8eca90e659e11ca31 (diff) |
AcitvityPub: correct addressing for replies and pms
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/Note.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java index c15cd8d3..61a64f8d 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java @@ -1,15 +1,11 @@ package com.juick.server.api.activity.model; -import com.juick.Message; -import com.juick.util.MessageUtils; -import org.apache.commons.lang3.StringUtils; - -import java.util.Collections; import java.util.List; public class Note extends Context { private String content; private String attributedTo; + private String inReplyTo; private Link attachment; private List<String> to; private List<String> cc; @@ -53,4 +49,12 @@ public class Note extends Context { public void setCc(List<String> cc) { this.cc = cc; } + + public String getInReplyTo() { + return inReplyTo; + } + + public void setInReplyTo(String inReplyTo) { + this.inReplyTo = inReplyTo; + } } |