aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/api/activity/Profile.java2
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 c4b7d58a5..0f258770c 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());