aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/juick/ActivityPubManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java
index c6f2c3d8..33404596 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(note.getId() + "#top");
+ announce.setId(personUri(user) + "#announce");
announce.setActor(personUri(user));
announce.setTo(Collections.singletonList(Context.ACTIVITYSTREAMS_PUBLIC));
announce.setObject(note);
@@ -413,7 +413,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
var follower = signatureManager.getContext(URI.create(acct));
follower.ifPresentOrElse((person) -> {
try {
- logger.info("Announcing top: {}", message.getMid());
+ logger.info("{} announcing {} to {}", user.getName(), message.getMid(), acct);
signatureManager.post(me, (Actor)person, announce);
} catch (IOException | NoSuchAlgorithmException e) {
logger.warn("activitypub exception", e);