- override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) =
- getCurrentSone(freenetRequest.toadletContext).let { currentSone ->
- (webInterface.getNewPosts(currentSone) + webInterface.getNewReplies(currentSone).mapPresent { it.post })
+ override fun handleRequest(soneRequest: SoneRequest, templateContext: TemplateContext) =
+ getCurrentSone(soneRequest.toadletContext).let { currentSone ->
+ (soneRequest.webInterface.getNewPosts(currentSone) + soneRequest.webInterface.getNewReplies(currentSone).mapPresent { it.post })