diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/juick/ActivityPubManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java index 33404596..3b90530c 100644 --- a/src/main/java/com/juick/ActivityPubManager.java +++ b/src/main/java/com/juick/ActivityPubManager.java @@ -404,7 +404,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene private void processLike(User user, Message message) { Note note = makeNote(message); Announce announce = new Announce(); - announce.setId(personUri(user) + "#announce"); + announce.setId(note.getId() + "#announce-" + user.getName()); announce.setActor(personUri(user)); announce.setTo(Collections.singletonList(Context.ACTIVITYSTREAMS_PUBLIC)); announce.setObject(note); |