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/PageTemplates.java | 6 +++---
src/java/com/juick/http/www/UserThread.java | 18 +++++++++---------
2 files changed, 12 insertions(+), 12 deletions(-)
(limited to 'src/java/com/juick')
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index 10c02a80..f2326b3e 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -434,10 +434,10 @@ public class PageTemplates {
out.print("
" + txt + "
");
if (msg.AttachmentType != null) {
- if (msg.AttachmentType.equals("jpg")) {
- out.println(" ");
- } else {
+ if (msg.AttachmentType.equals("mp4")) {
out.println(" ");
+ } else {
+ out.println(" ");
}
}
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