Remove unneccessary code
This commit is contained in:
parent
4038af2f47
commit
43703870e8
|
@ -755,9 +755,8 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Message.ENCRYPTION_AXOLOTL:
|
case Message.ENCRYPTION_AXOLOTL:
|
||||||
message.setStatus(Message.STATUS_WAITING);
|
|
||||||
packet = account.getAxolotlService().fetchPacketFromCache(message);
|
packet = account.getAxolotlService().fetchPacketFromCache(message);
|
||||||
if (packet == null && account.isOnlineAndConnected()) {
|
if (packet == null) {
|
||||||
account.getAxolotlService().prepareMessage(message);
|
account.getAxolotlService().prepareMessage(message);
|
||||||
message.setAxolotlFingerprint(account.getAxolotlService().getOwnPublicKey().getFingerprint().replaceAll("\\s", ""));
|
message.setAxolotlFingerprint(account.getAxolotlService().getOwnPublicKey().getFingerprint().replaceAll("\\s", ""));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue