mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 12:42:16 -05:00
clean up client cert selection code
This commit is contained in:
parent
41b3df0d43
commit
9fd6539534
@ -161,7 +161,8 @@ public class XmppConnection implements Runnable {
|
||||
|
||||
@Override
|
||||
public String[] getClientAliases(String s, Principal[] principals) {
|
||||
return new String[0];
|
||||
final String alias = account.getPrivateKeyAlias();
|
||||
return alias != null ? new String[]{alias} : new String[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user