forked from mirror/monocles_chat_clean
WebXDC file sent with no thread is just a file
This commit is contained in:
parent
6972d18770
commit
67e020b086
1 changed files with 1 additions and 1 deletions
|
@ -1716,7 +1716,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
displayMediaPreviewMessage(viewHolder, message, darkBackground, type);
|
||||
} else if (message.getFileParams().runtime > 0 && (message.getFileParams().width == 0 && message.getFileParams().height == 0)) {
|
||||
displayAudioMessage(viewHolder, message, darkBackground, type);
|
||||
} else if ("application/xdc+zip".equals(message.getFileParams().getMediaType()) && message.getConversation() instanceof Conversation && !message.getFileParams().getCids().isEmpty()) {
|
||||
} else if ("application/xdc+zip".equals(message.getFileParams().getMediaType()) && message.getConversation() instanceof Conversation && message.getThread() != null && !message.getFileParams().getCids().isEmpty()) {
|
||||
displayWebxdcMessage(viewHolder, message, darkBackground, type);
|
||||
} else {
|
||||
displayOpenableMessage(viewHolder, message, darkBackground, type);
|
||||
|
|
Loading…
Add table
Reference in a new issue