aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-05 15:43:44 +0300
committerGravatar Vitaly Takmazov2018-09-05 15:43:44 +0300
commita1559f23f2fb18506b9dc04e4fdd0575ee0eb94b (patch)
treea8a21b38466ad07b22ff6fa844ed684868c38a90 /juick-server/src/main/java
parent2f972edbba5e37499982b017e51d1d7c471f2307 (diff)
ActivityStreams: fix followers uri in to attribute
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/Profile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
index a0804d2c..1b606948 100644
--- a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
+++ b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
@@ -83,7 +83,7 @@ public class Profile {
if (!user.isAnonymous()) {
UriComponentsBuilder uri = UriComponentsBuilder.fromUriString(baseUri);
String blogUri = uri.path(String.format("/u/%s/blog/toc", userName)).toUriString();
- String followersUri = uri.path(String.format("/u/%s/followers/toc", userName)).toUriString();
+ String followersUri = uri.replacePath(String.format("/u/%s/followers/toc", userName)).toUriString();
List<Integer> mids = messagesService.getUserBlog(user.getUid(), 0, before);
List<Note> notes = messagesService.getMessages(visitor, mids).stream().map(m -> {
Note note = new Note();