so not show setup message as file

This commit is contained in:
B. Petersen
2018-10-03 15:14:51 +02:00
parent 5c693c14b6
commit 728142d08d
@@ -364,8 +364,8 @@ public class ConversationItem extends LinearLayout
return hasThumbnail(messageRecord) && !hasAudio(messageRecord) && !hasDocument(messageRecord);
}
private boolean hasDocument(DcMsg messageRecord) {
return messageRecord.getType()==DcMsg.DC_MSG_FILE;
private boolean hasDocument(DcMsg dcMsg) {
return dcMsg.getType()==DcMsg.DC_MSG_FILE && !dcMsg.isSetupMessage();
}
private boolean hasQuote(DcMsg messageRecord) {