Sometimes elements are marked as read but not removed from the
notifications.
public void markPostKnown(Post post) {
post.setKnown(true);
synchronized (knownPosts) {
+ coreListenerManager.fireMarkPostKnown(post);
if (knownPosts.add(post.getId())) {
- coreListenerManager.fireMarkPostKnown(post);
touchConfiguration();
}
}
public void markReplyKnown(PostReply reply) {
reply.setKnown(true);
synchronized (knownReplies) {
+ coreListenerManager.fireMarkReplyKnown(reply);
if (knownReplies.add(reply.getId())) {
- coreListenerManager.fireMarkReplyKnown(reply);
touchConfiguration();
}
}