Merge pull request #673 from SamWhited/development
Fix fetching accounts by JIDs
This commit is contained in:
commit
155b607f4d
|
@ -1825,7 +1825,7 @@ public class XmppConnectionService extends Service {
|
||||||
|
|
||||||
public Account findAccountByJid(final Jid accountJid) {
|
public Account findAccountByJid(final Jid accountJid) {
|
||||||
for (Account account : this.accounts) {
|
for (Account account : this.accounts) {
|
||||||
if (account.getJid().toBareJid().equals(accountJid)) {
|
if (account.getJid().toBareJid().equals(accountJid.toBareJid())) {
|
||||||
return account;
|
return account;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue