aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/XMPPConnection.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-20 19:07:59 +0300
committerGravatar Vitaly Takmazov2018-11-20 19:07:59 +0300
commitb6bb0dc8a3391442fad0124baa12799982cd6d8d (patch)
tree664a6bdbc76cbc2219eb4c67f8aca875d83fccc0 /src/main/java/com/juick/server/XMPPConnection.java
parent6d4f8164ac97690a1993981605435cdc6ff097f2 (diff)
fix api avatar urls
Diffstat (limited to 'src/main/java/com/juick/server/XMPPConnection.java')
-rw-r--r--src/main/java/com/juick/server/XMPPConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/XMPPConnection.java b/src/main/java/com/juick/server/XMPPConnection.java
index 444e2512..44cc4a30 100644
--- a/src/main/java/com/juick/server/XMPPConnection.java
+++ b/src/main/java/com/juick/server/XMPPConnection.java
@@ -173,7 +173,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener {
userVCard.setFormattedName(info.getFullName());
userVCard.setNickname(user.getName());
try {
- userVCard.setPhoto(new VCard.Image(URI.create(webApp.getAvatarWebPath(user))));
+ userVCard.setPhoto(new VCard.Image(URI.create(webApp.getAvatarUrl(user))));
if (info.getUrl() != null) {
userVCard.setUrl(new URL(info.getUrl()));
}