aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
diff options
context:
space:
mode:
authorM. Dietrich <mdt@emdete.de>2014-09-01 23:48:42 +0200
committerM. Dietrich <mdt@emdete.de>2014-09-01 23:48:42 +0200
commit546082147ae161aa7568277db653655483cd745e (patch)
tree78e23229fb9d58ebd84d116a1dde93c6d4059a13 /src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
parent3558fa5f5bcbf73ecb5c8174b208ac0c36e708b1 (diff)
transform ascii to emoticons (on display only)
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
index fcc57601..ecae6231 100644
--- a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
+++ b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
@@ -59,7 +59,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
|| latestMessage.getType() == Message.TYPE_PRIVATE) {
if ((latestMessage.getEncryption() != Message.ENCRYPTION_PGP)
&& (latestMessage.getEncryption() != Message.ENCRYPTION_DECRYPTION_FAILED)) {
- convLastMsg.setText(conv.getLatestMessage().getBody());
+ convLastMsg.setText(UIHelper.transformAsciiEmoticons(conv.getLatestMessage().getBody()));
} else {
convLastMsg.setText(activity
.getText(R.string.encrypted_message_received));