aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ConversationFragment.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-05-17 09:43:47 +0200
committerDaniel Gultsch <daniel@gultsch.de>2014-05-17 09:43:47 +0200
commitb84b67268be3f54155fd5cbb23d6df4e8569cd85 (patch)
tree92bf19bd8877386624d88a23d9bcbd89878bb89f /src/eu/siacs/conversations/ui/ConversationFragment.java
parentf9394e2e69ad06372a9e9690ba59660c63a58591 (diff)
fixed #113
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java3
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;
}