aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/ui/adapter
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-01-20 22:54:26 +0100
committeriNPUTmice <daniel@gultsch.de>2015-01-20 22:54:26 +0100
commit6dc53c2b3505adbe8e0c7b7991c0df4716b9b834 (patch)
tree48c79dd54d8c70808a999c06fb112c17f4ea74ab /src/main/java/eu/siacs/conversations/ui/adapter
parent04f46805823878924335d40268d69544af6f47bf (diff)
fixed missing image preview
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui/adapter')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
index 37cdf223..38c321d0 100644
--- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
+++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
@@ -72,7 +72,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
if (message.getImageParams().width > 0
&& (message.getDownloadable() == null
- || message.getDownloadable().getStatus() == Downloadable.STATUS_DELETED)) {
+ || message.getDownloadable().getStatus() != Downloadable.STATUS_DELETED)) {
mLastMessage.setVisibility(View.GONE);
imagePreview.setVisibility(View.VISIBLE);
activity.loadBitmap(message, imagePreview);