mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -05:00
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) {
|
||||
for (Account account : this.accounts) {
|
||||
if (account.getJid().toBareJid().equals(accountJid)) {
|
||||
if (account.getJid().toBareJid().equals(accountJid.toBareJid())) {
|
||||
return account;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user