🔥 Remove unnecessary request URI from inserted Sone
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Feb 2020 20:44:01 +0000 (21:44 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Feb 2020 20:44:01 +0000 (21:44 +0100)
src/main/java/net/pterodactylus/sone/core/SoneInserter.java

index 69480da..311d006 100644 (file)
@@ -307,7 +307,6 @@ public class SoneInserter extends AbstractService {
                        soneProperties.put("id", sone.getId());
                        soneProperties.put("name", sone.getName());
                        soneProperties.put("time", currentTimeMillis());
-                       soneProperties.put("requestUri", sone.getRequestUri());
                        soneProperties.put("profile", sone.getProfile());
                        soneProperties.put("posts", Ordering.from(Post.NEWEST_FIRST).sortedCopy(sone.getPosts()));
                        soneProperties.put("replies", Ordering.from(Reply.TIME_COMPARATOR).reverse().sortedCopy(sone.getReplies()));