From 73db0bd19f2f6682e1a89031fe3530afe325c491 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 26 Oct 2017 18:30:02 +0200 Subject: [PATCH] MessageAdapter: Do not display muc whispers as emoji only --- .../java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index adc02a33c..5abd44522 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -801,7 +801,7 @@ public class MessageAdapter extends ArrayAdapter 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 {