MessageAdapter: Do not display muc whispers as emoji only

This commit is contained in:
Daniel Gultsch 2017-10-26 18:30:02 +02:00
parent 6bc32d7e57
commit 73db0bd19f

View File

@ -801,7 +801,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
} else { } else {
if (message.isGeoUri()) { if (message.isGeoUri()) {
displayLocationMessage(viewHolder,message); displayLocationMessage(viewHolder,message);
} else if (message.bodyIsOnlyEmojis()) { } else if (message.bodyIsOnlyEmojis() && message.getType() != Message.TYPE_PRIVATE) {
displayEmojiMessage(viewHolder, message.getBody().trim()); displayEmojiMessage(viewHolder, message.getBody().trim());
} else if (message.treatAsDownloadable()) { } else if (message.treatAsDownloadable()) {
try { try {