diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-07-02 23:13:00 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-07-02 23:13:00 +0200 |
commit | f5ba9d4223ca8e5dc9ce00024f69a8374d170a31 (patch) | |
tree | c4f5f5cbecee7b70641c71d70f35350aca2cad47 /src/main/java/eu/siacs/conversations/entities/Message.java | |
parent | a2525346f461183125c5840498228c347a86d4aa (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.java | 2 |
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; } |