aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/RSS.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-16 12:10:32 +0300
committerGravatar Vitaly Takmazov2016-11-16 16:21:43 +0300
commitb11a395c46aa92179a4a6019d2ebef15877b3946 (patch)
tree7ab510a4d8a134c17e80795b76b7e153e74b4536 /juick-www/src/main/java/com/juick/www/RSS.java
parent96dc5157a2a0979dbe2511366cb3bec6d16c4e7e (diff)
formatMessage moved to core, remove copy-paste from juick-rss
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/RSS.java')
-rw-r--r--juick-www/src/main/java/com/juick/www/RSS.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/RSS.java b/juick-www/src/main/java/com/juick/www/RSS.java
index f27ea539..5218494d 100644
--- a/juick-www/src/main/java/com/juick/www/RSS.java
+++ b/juick-www/src/main/java/com/juick/www/RSS.java
@@ -19,6 +19,7 @@ package com.juick.www;
import com.juick.Message;
import com.juick.server.MessagesQueries;
+import com.juick.util.MessageUtils;
import com.mitchellbosecke.pebble.error.PebbleException;
import com.mitchellbosecke.pebble.template.PebbleTemplate;
import org.springframework.jdbc.core.JdbcTemplate;
@@ -49,7 +50,7 @@ public class RSS {
List<Message> msgs = MessagesQueries.getMessages(sql, mids);
- msgs.forEach(m -> Utils.formatMessage(m.getText()));
+ msgs.forEach(m -> MessageUtils.formatMessage(m.getText()));
response.setContentType("application/rss+xml; charset=UTF-8");
try (PrintWriter out = response.getWriter()) {