diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-16 17:35:59 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-16 17:35:59 +0100 |
commit | 155b607f4dbef1399196d4bdc43c6e10cfc142b0 (patch) | |
tree | 64cbf3503c5a3f34414744180bc07391af8df595 /src/main | |
parent | cf00f3fade1e76ff9360e96d5505d49c7c89d5c4 (diff) | |
parent | 5765a91db67590644fcc11e0cc10e6854412a2a1 (diff) |
Merge pull request #673 from SamWhited/development
Fix fetching accounts by JIDs
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 509030c6e..d2cbbe7c3 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -1825,7 +1825,7 @@ public class XmppConnectionService extends Service { public Account findAccountByJid(final Jid accountJid) { for (Account account : this.accounts) { - if (account.getJid().toBareJid().equals(accountJid)) { + if (account.getJid().toBareJid().equals(accountJid.toBareJid())) { return account; } } |