diff options
author | Vitaly Takmazov | 2018-11-20 15:16:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-20 15:16:23 +0300 |
commit | b0cfa955c77c4e36bd334324d0ccb2ff24ff549f (patch) | |
tree | c40954b3c453c7138514d1439fdcd6d969af0bec /src/main/java/com/juick/User.java | |
parent | 152efe1f31e1e568272fc401a3a19f2c6f7c9c49 (diff) |
versioned avatars in www
Diffstat (limited to 'src/main/java/com/juick/User.java')
-rw-r--r-- | src/main/java/com/juick/User.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java index e2e45122..f1f74892 100644 --- a/src/main/java/com/juick/User.java +++ b/src/main/java/com/juick/User.java @@ -40,7 +40,7 @@ import java.util.Objects; public class User { private int uid; private String name; - private Object avatar; + private String avatar; private String fullName; private int messagesCount; private String authHash; @@ -139,12 +139,12 @@ public class User { this.banned = banned; } - public Object getAvatar() { + public String getAvatar() { return avatar; } - public void setAvatar(Object avatar) { - this.avatar = avatar; + public void setAvatar(String avatarUri) { + this.avatar = avatarUri; } @XmlTransient |