From 1a2830588131173d8fbfeb1fe03c466b4cf30e46 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 30 Nov 2016 16:49:11 +0300 Subject: juick-core: fix attachment serialization --- juick-www/src/main/java/com/juick/www/PageTemplates.java | 6 +++--- juick-www/src/main/java/com/juick/www/UserThread.java | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'juick-www/src') diff --git a/juick-www/src/main/java/com/juick/www/PageTemplates.java b/juick-www/src/main/java/com/juick/www/PageTemplates.java index 74b8b543..180e852f 100644 --- a/juick-www/src/main/java/com/juick/www/PageTemplates.java +++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java @@ -329,12 +329,12 @@ public class PageTemplates { out.println("
" + tagsStr + "
"); out.println(" "); - if (msg.AttachmentType != null) { - String fname = msg.getMid() + "." + msg.AttachmentType; + if (msg.getAttachmentType() != null) { + String fname = msg.getMid() + "." + msg.getAttachmentType(); out.println("

\"\"/

"); } out.println("

" + txt + "

"); - if (msg.AttachmentType != null) { + if (msg.getAttachmentType() != null) { out.println("
"); } out.print("