Don't show group avatar icons in thread preview

Fixes #4383
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-11-04 15:39:01 -08:00
parent 3f6cdd4133
commit 60ab71099f

View File

@ -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();