diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/juick/server/api/activity/Profile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/api/activity/Profile.java b/src/main/java/com/juick/server/api/activity/Profile.java index c4b7d58a..0f258770 100644 --- a/src/main/java/com/juick/server/api/activity/Profile.java +++ b/src/main/java/com/juick/server/api/activity/Profile.java @@ -392,7 +392,7 @@ public class Profile { public User fetchUser(@RequestParam URI uri) { Person person = (Person) signatureManager.getContext(uri).orElseThrow(HttpBadRequestException::new); User user = new User(); - user.setUri(URI.create(person.getUrl())); + user.setUri(URI.create(person.getId())); user.setName(person.getPreferredUsername()); if (person.getIcon() != null) { user.setAvatar(person.getIcon().getUrl()); |