diff options
author | 2019-01-20 15:51:36 +0300 | |
---|---|---|
committer | 2019-01-20 15:52:11 +0300 | |
commit | 920ccf071828cb49e573dd873f1f4c124950c259 (patch) | |
tree | ae29c8810077506e3aedc56e72e17cd2f7bf18c7 /src/main/java/com/juick/server/api | |
parent | 8b474748883b9a4d780c7d696445126666c2094f (diff) |
AvatarWebPath -> AvatarUrl
Diffstat (limited to 'src/main/java/com/juick/server/api')
-rw-r--r-- | src/main/java/com/juick/server/api/PM.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/api/PM.java b/src/main/java/com/juick/server/api/PM.java index 242cd31c..e61fef6e 100644 --- a/src/main/java/com/juick/server/api/PM.java +++ b/src/main/java/com/juick/server/api/PM.java @@ -99,7 +99,7 @@ public class PM { jmsg.setUser(visitor); jmsg.setText(body); jmsg.setTo(userTo); - jmsg.getUser().setAvatar(webApp.getAvatarWebPath(jmsg.getUser())); + jmsg.getUser().setAvatar(webApp.getAvatarUrl(jmsg.getUser())); applicationEventPublisher.publishEvent(new MessageEvent(this, jmsg, Collections.singletonList(jmsg.getTo()))); return jmsg; |