aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-07 13:14:33 +0300
committerGravatar Vitaly Takmazov2018-10-07 13:14:33 +0300
commitae2b7552bda919e7eb505139eb417656ae2568a1 (patch)
treef484dda786eda1acbf1a99836fb2a5dd54d9bcbe /juick-server/src/main/java/com/juick/server
parent1dbaac46c7205c184ff2365031d918083b2dce57 (diff)
ActivityPub: fix inReplyTo serialization
Diffstat (limited to 'juick-server/src/main/java/com/juick/server')
-rw-r--r--juick-server/src/main/java/com/juick/server/ActivityPubManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/main/java/com/juick/server/ActivityPubManager.java b/juick-server/src/main/java/com/juick/server/ActivityPubManager.java
index c1790deb..10ca9951 100644
--- a/juick-server/src/main/java/com/juick/server/ActivityPubManager.java
+++ b/juick-server/src/main/java/com/juick/server/ActivityPubManager.java
@@ -183,8 +183,8 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
note.setUrl(PlainTextFormatter.formatUrl(msg));
note.setAttributedTo(personUri(msg.getUser()));
if (MessageUtils.isReply(msg)) {
- if (msg.getReplyUri().toASCIIString().length() > 0) {
- note.setInReplyTo(msg.getReplyUri().toASCIIString());
+ if (msg.getReplyToUri().toASCIIString().length() > 0) {
+ note.setInReplyTo(msg.getReplyToUri().toASCIIString());
} else {
note.setInReplyTo(messageUri(msg.getMid(), msg.getReplyto()));
}