diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-12-27 21:01:41 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-12-27 21:01:41 +0100 |
commit | e7243b5e2ce38408faa47bf804d867295f100d61 (patch) | |
tree | f1cfcc4d9b1d0ccc14920584dc9b463e4ed08b85 /src/main/java | |
parent | 7542322a40a9c22e6fbcdbc7f69bb3deecf9e197 (diff) |
fixed omemo device list not getting annouced on empty list
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java | 2 |
1 files changed, 1 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 a090b72d1..c29d507ba 100644 --- a/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java +++ b/src/main/java/de/pixart/messenger/crypto/axolotl/AxolotlService.java @@ -390,7 +390,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded { final int hash = deviceIds.hashCode(); final boolean me = jid.toBareJid().equals(account.getJid().toBareJid()); if (me) { - if (hash == this.lastDeviceListNotificationHash) { + if (hash != 0 && hash == this.lastDeviceListNotificationHash) { Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": ignoring duplicate own device id list"); return; } |