From fdc329f367e5685cc9d4b0654f53eaa03818e905 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 4 Oct 2018 13:25:34 +0300 Subject: AcitvityPub: correct addressing for replies and pms --- .../java/com/juick/server/api/activity/model/Note.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'juick-server/src/main/java/com/juick/server/api') 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 to; private List cc; @@ -53,4 +49,12 @@ public class Note extends Context { public void setCc(List cc) { this.cc = cc; } + + public String getInReplyTo() { + return inReplyTo; + } + + public void setInReplyTo(String inReplyTo) { + this.inReplyTo = inReplyTo; + } } -- cgit v1.2.3