aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/api/activity
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-20 17:42:39 +0300
committerGravatar Vitaly Takmazov2018-11-20 17:42:39 +0300
commit6d4f8164ac97690a1993981605435cdc6ff097f2 (patch)
treeaf86327338539d41707a0e6b6c1c2d46fece8878 /src/main/java/com/juick/server/api/activity
parentb5eed5e659c94eb618b3f35dff92988e2860235c (diff)
fix web avatar urls
Diffstat (limited to 'src/main/java/com/juick/server/api/activity')
-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 60e099d0..979f6265 100644
--- a/src/main/java/com/juick/server/api/activity/Profile.java
+++ b/src/main/java/com/juick/server/api/activity/Profile.java
@@ -104,7 +104,7 @@ public class Profile {
person.setFollowers(activityPubManager.followersUri(user));
person.setFollowing(activityPubManager.followingUri(user));
UriComponentsBuilder image = UriComponentsBuilder.fromUriString(baseImagesUri);
- image.path(webApp.getAvatarPublicUrl(user));
+ image.path(webApp.getAvatarWebPath(user));
Image avatar = new Image();
avatar.setUrl(image.toUriString());
avatar.setMediaType("image/png");