Show identity category gateway even without jabber:iq:gateway prompt
This commit is contained in:
parent
58cf187f31
commit
82bf15e040
|
@ -165,7 +165,7 @@ public class EnterJidDialog extends DialogFragment implements OnBackendConnected
|
|||
for (final Contact contact : account.getRoster().getContacts()) {
|
||||
if (contact.showInRoster() && (contact.getPresences().anyIdentity("gateway", null) || contact.getPresences().anySupport("jabber:iq:gateway"))) {
|
||||
context.xmppConnectionService.fetchFromGateway(account, contact.getJid(), null, (final String prompt, String errorMessage) -> {
|
||||
if (prompt == null) return;
|
||||
if (prompt == null && !contact.getPresences().anyIdentity("gateway", null)) return;
|
||||
|
||||
context.runOnUiThread(() -> {
|
||||
gatewayListAdapter.add(contact, prompt);
|
||||
|
|
Loading…
Reference in New Issue