- Sone currentSone = getCurrentSone(request.getToadletContext());
- webInterface.getCore().createReply(currentSone, post, text);
+ String senderId = request.getHttpRequest().getPartAsStringFailsafe("sender", 43);
+ Sone sender = webInterface.getCore().getLocalSone(senderId);
+ if (sender == null) {
+ sender = getCurrentSone(request.getToadletContext());
+ }
+ text = TextFilter.filter(request.getHttpRequest().getHeader("host"), text);
+ webInterface.getCore().createReply(sender, post.get(), text);