diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-01 12:32:19 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-01 12:32:19 +0100 |
commit | d0e764c1a50bfe13be7c5ca5e9c9a52c108abdaa (patch) | |
tree | e2e326743ad4224aa2bec97340be98ac28139ca4 /src/main/java/eu/siacs/conversations/utils/UIHelper.java | |
parent | f5427837618b8fabd4e24c9ef19769bf6e60502b (diff) |
fixed text preview for images
Diffstat (limited to 'src/main/java/eu/siacs/conversations/utils/UIHelper.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/UIHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/UIHelper.java b/src/main/java/eu/siacs/conversations/utils/UIHelper.java index ffb9390f9..235ef84c9 100644 --- a/src/main/java/eu/siacs/conversations/utils/UIHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/UIHelper.java @@ -142,7 +142,7 @@ public class UIHelper { } } else if (message.getEncryption() == Message.ENCRYPTION_PGP) { return new Pair<>(context.getString(R.string.encrypted_message_received),true); - } else if (message.getType() == Message.TYPE_FILE) { + } else if (message.getType() == Message.TYPE_FILE || message.getType() == Message.TYPE_IMAGE) { if (message.getStatus() == Message.STATUS_RECEIVED) { return new Pair<>(context.getString(R.string.received_x_file, getFileDescriptionString(context, message)), true); |