diff options
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.java | 3 |
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()) { |