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
1 changed files with 1 additions and 1 deletions

View File

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