aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/server/ActivityPubManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/juick/server/ActivityPubManager.java b/src/main/java/com/juick/server/ActivityPubManager.java
index 9829760f..4bd51ff4 100644
--- a/src/main/java/com/juick/server/ActivityPubManager.java
+++ b/src/main/java/com/juick/server/ActivityPubManager.java
@@ -137,6 +137,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
@Override
public void processAnnounceEvent(AnnounceEvent event) {
+ logger.info("Announce: {} -> {}", event.getActorUri(), event.getMessageUri());
UriComponents uriComponents = UriComponentsBuilder.fromUriString(event.getMessageUri()).build();
List<String> segments = uriComponents.getPathSegments();
if (segments.get(0).equals("m")) {
@@ -151,6 +152,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
@Override
public void undoAnnounceEvent(UndoAnnounceEvent event) {
+ logger.info("Undo announce: {} -> {}", event.getActorUri(), event.getMessageUri());
UriComponents uriComponents = UriComponentsBuilder.fromUriString(event.getMessageUri()).build();
List<String> segments = uriComponents.getPathSegments();
if (segments.get(0).equals("m")) {