diff options
author | Vitaly Takmazov | 2024-05-29 17:12:20 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-05-29 17:12:20 +0300 |
commit | d6670eb2cd789f1c7191f460226e4a5f07759e5d (patch) | |
tree | 50d7fcde664a1551d9752426dc5c5d192eceefa0 /src/main/java/com/juick/service | |
parent | f99dad55bc2b2c0dc4ada8769b9630860fb1b2e8 (diff) |
web: dim uri part from external recommendations
Diffstat (limited to 'src/main/java/com/juick/service')
-rw-r--r-- | src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java index b1b50f2a..bad080a0 100644 --- a/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -522,7 +522,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ user.setUri(uri); String path = uri.getPath(); String name = path.substring(path.lastIndexOf('/') + 1); - user.setName(name + "@" + uri.getHost()); + user.setName(name); } return new ImmutablePair<>(rs.getInt(1), user); }); |