diff options
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java index 648c6620..bfcba135 100644 --- a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java @@ -62,10 +62,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { if (latestMessage.getType() == Message.TYPE_TEXT || latestMessage.getType() == Message.TYPE_PRIVATE) { - if (latestMessage.getEncryption() == Message.ENCRYPTION_OTR - && latestMessage.getStatus() == Message.STATUS_RECEPTION_FAILED) { - convLastMsg.setText(R.string.unable_to_decrypt_otr_message); - } else if ((latestMessage.getEncryption() != Message.ENCRYPTION_PGP) + if ((latestMessage.getEncryption() != Message.ENCRYPTION_PGP) && (latestMessage.getEncryption() != Message.ENCRYPTION_DECRYPTION_FAILED)) { String body = Config.PARSE_EMOTICONS ? UIHelper .transformAsciiEmoticons(latestMessage.getBody()) |