aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-17 18:40:27 +0200
committerAndreas Straub <andy@strb.org>2015-07-19 22:23:28 +0200
commit43703870e87bfda94993439f57c7d2692aaf7783 (patch)
tree3f9c7d490af1473ba93afa8b52c812e3349f09c5 /src/main/java
parent4038af2f4764f1d35d82822514d65d17ab45b302 (diff)
Remove unneccessary code
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index 92e4cf35..60815f5e 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -755,9 +755,8 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
}
break;
case Message.ENCRYPTION_AXOLOTL:
- message.setStatus(Message.STATUS_WAITING);
packet = account.getAxolotlService().fetchPacketFromCache(message);
- if (packet == null && account.isOnlineAndConnected()) {
+ if (packet == null) {
account.getAxolotlService().prepareMessage(message);
message.setAxolotlFingerprint(account.getAxolotlService().getOwnPublicKey().getFingerprint().replaceAll("\\s", ""));
}