diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eu/siacs/conversations/crypto/PgpEngine.java | 2 | ||||
-rw-r--r-- | src/eu/siacs/conversations/entities/Message.java | 2 | ||||
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/eu/siacs/conversations/crypto/PgpEngine.java b/src/eu/siacs/conversations/crypto/PgpEngine.java index 75c47768..c0d8ca07 100644 --- a/src/eu/siacs/conversations/crypto/PgpEngine.java +++ b/src/eu/siacs/conversations/crypto/PgpEngine.java @@ -161,7 +161,6 @@ public class PgpEngine { } message.setEncryptedBody(encryptedMessageBody .toString()); - message.ready = true; callback.success(message); break; case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: @@ -191,7 +190,6 @@ public class PgpEngine { switch (result.getIntExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_ERROR)) { case OpenPgpApi.RESULT_CODE_SUCCESS: - message.ready = true; callback.success(message); break; case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: diff --git a/src/eu/siacs/conversations/entities/Message.java b/src/eu/siacs/conversations/entities/Message.java index 0f50f026..c298a652 100644 --- a/src/eu/siacs/conversations/entities/Message.java +++ b/src/eu/siacs/conversations/entities/Message.java @@ -55,8 +55,6 @@ public class Message extends AbstractEntity { protected transient Conversation conversation = null; protected transient JingleConnection jingleConnection = null; - - public boolean ready = true; private Message() { diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 1d59692c..10d7f409 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -376,7 +376,6 @@ public class XmppConnectionService extends Service { if (conversation.getNextEncryption() == Message.ENCRYPTION_PGP) { getPgpEngine().encrypt(message, callback); } else { - message.ready = true; callback.success(message); } } catch (FileBackend.ImageCopyException e) { |