when (freenetRequest.parameters["type", 5]) {
"sone" -> ids.mapNotNull(webInterface.core::getSone).forEach(webInterface.core::markSoneKnown)
"post" -> ids.mapPresent(webInterface.core::getPost).forEach(webInterface.core::markPostKnown)
- "reply" -> ids.mapPresent(webInterface.core::getPostReply).forEach(webInterface.core::markReplyKnown)
+ "reply" -> ids.mapNotNull(webInterface.core::getPostReply).forEach(webInterface.core::markReplyKnown)
else -> throw RedirectException("invalid.html")
}
throw RedirectException(freenetRequest.parameters["returnPage", 256]!!)