Move unliking a post from Sone to Post.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / impl / DefaultPost.java
index 2fe4308..fa21e7a 100644 (file)
@@ -133,6 +133,11 @@ public class DefaultPost implements Post {
        }
 
        @Override
+       public void unlike(Sone localSone) {
+               database.unlikePost(this, localSone);
+       }
+
+       @Override
        public List<PostReply> getReplies() {
                return from(database.getReplies(getId())).toSortedList(Reply.TIME_COMPARATOR);
        }