Merge pull request #673 from SamWhited/development

Fix fetching accounts by JIDs
This commit is contained in:
Daniel Gultsch 2014-11-16 17:35:59 +01:00
commit 155b607f4d

View file

@ -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;
}
}