From e1d907ac56fcfe5c380ef781530488c799a1f477 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Fri, 30 Aug 2013 12:46:25 +0700 Subject: PNG support --- src/java/com/juick/http/www/UserThread.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/java/com/juick/http/www/UserThread.java') diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index 22914e54..3ba5c96b 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -133,10 +133,10 @@ public class UserThread { out.println("
" + txt + "
"); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("jpg")) { - out.println("
\"\"/
"); - } else { + if (msg.AttachmentType.equals("mp4")) { out.println("
\"\"/
"); + } else { + out.println("
\"\"/
"); } } @@ -295,10 +295,10 @@ public class UserThread { } out.println("\">"); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("jpg")) { - out.println("
\"\"/
"); - } else { + if (msg.AttachmentType.equals("mp4")) { out.println("
\"\"/
"); + } else { + out.println("
\"\"/
"); } } out.println("
\""
"); @@ -334,10 +334,10 @@ public class UserThread { out.print("
  • "); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("jpg")) { - out.println("
    \"\"/
    "); - } else { + if (msg.AttachmentType.equals("mp4")) { out.println("
    \"\"/
    "); + } else { + out.println("
    \"\"/
    "); } } out.println("
    "); -- cgit v1.2.3