/*
- * Sone - UnbookmarkPage.java - Copyright © 2011–2013 David Roden
+ * Sone - UnbookmarkPage.java - Copyright © 2011–2016 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (id.equals("allNotLoaded")) {
Set<Post> posts = webInterface.getCore().getBookmarkedPosts();
for (Post post : posts) {
- if (post.getSone() == null) {
+ if (post.isLoaded()) {
webInterface.getCore().unbookmarkPost(post);
}
}