diff options
author | Vitaly Takmazov | 2018-10-10 00:09:58 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-24 00:00:46 +0300 |
commit | 8e6d764d6bb4391532e5376c795f634ee3898872 (patch) | |
tree | 99c5266ff0e1395b99ac5a70d2eca1e97865c856 /juick-common | |
parent | ee62ef1659604a373cb1c94d3cf0b1a6fd3946e8 (diff) |
ActivityPub: Mentions and Hashtags
Diffstat (limited to 'juick-common')
-rw-r--r-- | juick-common/src/main/java/com/juick/User.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/User.java b/juick-common/src/main/java/com/juick/User.java index ca907987..e2e45122 100644 --- a/juick-common/src/main/java/com/juick/User.java +++ b/juick-common/src/main/java/com/juick/User.java @@ -204,7 +204,11 @@ public class User { this.unread = unread; } + @Nonnull public URI getUri() { + if (uri == null) { + uri = URI.create(StringUtils.EMPTY); + } return uri; } |