aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-12-27 20:55:01 +0100
committerChristian Schneppe <christian@pix-art.de>2018-12-27 20:55:01 +0100
commit32d10e4c19cba790cc13d96525f5deb148e01d73 (patch)
tree6d8754d76faca03e96aeaf4a22cdf2191166c422 /src
parent815421f92acf7fce4664fcda196a31c515379204 (diff)
change epub file extension to epub and added mobi
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/utils/MimeUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/MimeUtils.java b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
index fc2484a51..0babfdf9d 100644
--- a/src/main/java/de/pixart/messenger/utils/MimeUtils.java
+++ b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
@@ -53,7 +53,7 @@ public final class MimeUtils {
// by guessExtensionFromMimeType.
add("application/andrew-inset", "ez");
add("application/dsptype", "tsp");
- add("application/epub+zip","pub");
+ add("application/epub+zip","epub");
add("application/hta", "hta");
add("application/mac-binhex40", "hqx");
add("application/mathematica", "nb");
@@ -183,6 +183,7 @@ public final class MimeUtils {
add("application/x-maker", "book");
add("application/x-maker", "fbdoc");
add("application/x-mif", "mif");
+ add("application/x-mobipocket-ebook","mobi");
add("application/x-ms-wmd", "wmd");
add("application/x-ms-wmz", "wmz");
add("application/x-msi", "msi");