removed unnecessary variable in message class

This commit is contained in:
iNPUTmice 2014-06-07 14:42:17 +02:00
parent 71886ed2ab
commit 60d0881852
3 changed files with 0 additions and 5 deletions

View file

@ -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:

View file

@ -56,8 +56,6 @@ public class Message extends AbstractEntity {
protected transient JingleConnection jingleConnection = null;
public boolean ready = true;
private Message() {
}

View file

@ -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) {