diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-05-17 09:43:47 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-05-17 09:43:47 +0200 |
commit | b84b67268be3f54155fd5cbb23d6df4e8569cd85 (patch) | |
tree | 92bf19bd8877386624d88a23d9bcbd89878bb89f /src/eu/siacs/conversations/ui/ConversationFragment.java | |
parent | f9394e2e69ad06372a9e9690ba59660c63a58591 (diff) |
fixed #113
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationFragment.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 708c7f68..97360335 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -583,8 +583,7 @@ public class ConversationFragment extends Fragment { ConversationActivity activity = (ConversationActivity) getActivity(); if (this.conversation != null) { for (Message message : this.conversation.getMessages()) { - if ((message.getEncryption() == Message.ENCRYPTION_PGP) - && (message.getStatus() == Message.STATUS_RECIEVED)) { + if (message.getEncryption() == Message.ENCRYPTION_PGP) { decryptMessage(message); break; } |