From 0080c338b062b597b721ff6e6ae3eae96a6be487 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 24 Oct 2018 17:23:33 +0300 Subject: ActivityPub: fix inReplyTo --- juick-server/src/main/java/com/juick/server/ActivityPubManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-server/src/main/java') 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)) { -- cgit v1.2.3