This commit is contained in:
Daniel Gultsch 2014-05-17 09:43:47 +02:00
parent f9394e2e69
commit b84b67268b

View file

@ -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;
}