diff options
author | Sam Whited <sam@samwhited.com> | 2014-11-16 10:04:45 -0500 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2014-11-16 10:04:45 -0500 |
commit | 5765a91db67590644fcc11e0cc10e6854412a2a1 (patch) | |
tree | 93d2e4dd4a53f8830ce8dcf1986ef2c5e5bbfd56 /src/main/java/eu/siacs/conversations/services | |
parent | 84b2ce10b7a38aaaa9d2d3ee8ad4e1213402640f (diff) |
Fix fetching accounts by JIDs
Fixes a crash when publishing an avatar
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-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; } } |