aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-22 00:52:14 +0300
committerGravatar Vitaly Takmazov2023-01-22 00:52:14 +0300
commitd17e5714c9b421fce507d310fd913ce3160a1764 (patch)
treede86cd888efada741d6501639f0d0d7427c1137d /src/main/java/com/juick
parent2949c247e4f1d82e0231c8e7eddfe715d7449aa9 (diff)
Update links to external users with web urls instead of json-ld uris
Diffstat (limited to 'src/main/java/com/juick')
-rw-r--r--src/main/java/com/juick/ActivityPubManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java
index 5f42028f..90616338 100644
--- a/src/main/java/com/juick/ActivityPubManager.java
+++ b/src/main/java/com/juick/ActivityPubManager.java
@@ -386,6 +386,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
if (context.isPresent() && context.get() instanceof Actor actor) {
User user = new User();
user.setUri(URI.create(actor.getId()));
+ user.setUrl(actor.getUrl());
user.setName(actor.getPreferredUsername());
if (actor.getIcon() != null) {
user.setAvatar(actor.getIcon().getUrl());