aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/crypto
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-08-01 13:36:19 +0200
committerChristian Schneppe <christian@pix-art.de>2017-08-01 13:36:19 +0200
commit62bddc494de8da7de7f59e789b415d666a210666 (patch)
tree13be9c1a9f12a22b7c09aeb4ce8d7a499b4fb704 /src/main/java/de/pixart/messenger/crypto
parent635b5d3341fe57680130c4d04f517709e61f05de (diff)
avoid unnecessary roster sync in OMEMO code. fixed startup performance regression
Diffstat (limited to 'src/main/java/de/pixart/messenger/crypto')
-rw-r--r--src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java b/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java
index 697c0dec5..098586efa 100644
--- a/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java
+++ b/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java
@@ -224,7 +224,6 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
public void put(SignalProtocolAddress address, XmppAxolotlSession value) {
super.put(address, value);
value.setNotFresh();
- xmppConnectionService.syncRosterToDisk(account); //TODO why?
}
public void put(XmppAxolotlSession session) {