From 60ab71099f2b516ce43aad6160f8ae698cf4d36a Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Wed, 4 Nov 2015 15:39:01 -0800 Subject: [PATCH] Don't show group avatar icons in thread preview Fixes #4383 // FREEBIE --- src/org/thoughtcrime/securesms/database/ThreadDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/database/ThreadDatabase.java b/src/org/thoughtcrime/securesms/database/ThreadDatabase.java index ff24daeb6b..c16ab17b01 100644 --- a/src/org/thoughtcrime/securesms/database/ThreadDatabase.java +++ b/src/org/thoughtcrime/securesms/database/ThreadDatabase.java @@ -436,7 +436,7 @@ public class ThreadDatabase extends Database { } private @Nullable Uri getAttachmentUriFor(MessageRecord record) { - if (!record.isMms() || record.isMmsNotification()) return null; + if (!record.isMms() || record.isMmsNotification() || record.isGroupAction()) return null; SlideDeck slideDeck = ((MediaMmsMessageRecord)record).getSlideDeck(); Slide thumbnail = slideDeck.getThumbnailSlide();