diff options
author | Andreas Straub <andy@strb.org> | 2015-06-29 14:19:17 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-05 17:26:29 +0200 |
commit | ae75c571dfd9c91fe24587c981af38e71c441b92 (patch) | |
tree | 8397324ae014ce224cf0810a6486888c32b9264d | |
parent | ba9520729f2588e09c25bc4deed2906ab9a56310 (diff) |
Use bareJid for own session retrieval
-rw-r--r-- | src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java index 22e959eb..e4c0480a 100644 --- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java +++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java @@ -591,7 +591,7 @@ public class AxolotlService { } private Set<XmppAxolotlSession> findOwnSessions() { - AxolotlAddress ownAddress = getAddressForJid(account.getJid()); + AxolotlAddress ownAddress = getAddressForJid(account.getJid().toBareJid()); Set<XmppAxolotlSession> ownDeviceSessions = new HashSet<>(this.sessions.getAll(ownAddress).values()); return ownDeviceSessions; } |