val ids = freenetRequest.parameters["id", 65536]!!.split(" ")
when (freenetRequest.parameters["type", 5]) {
"sone" -> ids.mapNotNull(webInterface.core::getSone).forEach(webInterface.core::markSoneKnown)
val ids = freenetRequest.parameters["id", 65536]!!.split(" ")
when (freenetRequest.parameters["type", 5]) {
"sone" -> ids.mapNotNull(webInterface.core::getSone).forEach(webInterface.core::markSoneKnown)
"reply" -> ids.mapNotNull(webInterface.core::getPostReply).forEach(webInterface.core::markReplyKnown)
else -> throw RedirectException("invalid.html")
}
"reply" -> ids.mapNotNull(webInterface.core::getPostReply).forEach(webInterface.core::markReplyKnown)
else -> throw RedirectException("invalid.html")
}