Change summary
src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 2
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -3619,7 +3619,7 @@ public class XmppConnectionService extends Service {
public List<Contact> findContacts(Jid jid, String accountJid) {
ArrayList<Contact> contacts = new ArrayList<>();
for (Account account : getAccounts()) {
- if (!account.isOptionSet(Account.OPTION_DISABLED)
+ if ((!account.isOptionSet(Account.OPTION_DISABLED) || accountJid != null)
&& (accountJid == null || accountJid.equals(account.getJid().toBareJid().toString()))) {
Contact contact = account.getRoster().getContactFromRoster(jid);
if (contact != null) {