MessageAdapter: Do not display muc whispers as emoji only
This commit is contained in:
parent
6bc32d7e57
commit
73db0bd19f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue