aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-24 17:23:33 +0300
committerGravatar Vitaly Takmazov2018-10-24 17:27:00 +0300
commit0080c338b062b597b721ff6e6ae3eae96a6be487 (patch)
treeb1a51775e620e8333b53c56664605a063e4acc2b
parent4b6e60929bcaf830bba3423d66bb1f325e73fcb6 (diff)
ActivityPub: fix inReplyTo
-rw-r--r--juick-server/src/main/java/com/juick/server/ActivityPubManager.java1
1 files changed, 1 insertions, 0 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 aa329b0a..1005b077 100644
--- a/juick-server/src/main/java/com/juick/server/ActivityPubManager.java
+++ b/juick-server/src/main/java/com/juick/server/ActivityPubManager.java
@@ -237,6 +237,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
Person person = (Person) personContext.get();
note.getTags().add(new Mention(person.getUrl(), person.getPreferredUsername()));
msg.getTo().setName(person.getPreferredUsername());
+ note.setInReplyTo(activity.getInReplyTo());
}
}
} else if (MessageUtils.isReply(msg)) {