aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities/Message.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-02 23:13:00 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-02 23:13:00 +0200
commitf5ba9d4223ca8e5dc9ce00024f69a8374d170a31 (patch)
treec4f5f5cbecee7b70641c71d70f35350aca2cad47 /src/main/java/eu/siacs/conversations/entities/Message.java
parenta2525346f461183125c5840498228c347a86d4aa (diff)
refactored message context menu
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities/Message.java')
-rw-r--r--src/main/java/eu/siacs/conversations/entities/Message.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java
index 0b938639..d15f3bbd 100644
--- a/src/main/java/eu/siacs/conversations/entities/Message.java
+++ b/src/main/java/eu/siacs/conversations/entities/Message.java
@@ -468,7 +468,7 @@ public class Message extends AbstractEntity {
}
} else {
try {
- return MimeUtils.guessExtensionFromMimeType(extractRelevantExtension(new URL(body.trim())));
+ return MimeUtils.guessMimeTypeFromExtension(extractRelevantExtension(new URL(body.trim())));
} catch (MalformedURLException e) {
return null;
}