mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Merge pull request #235 from wrooot/master
SPARK-1021 Default to Name field as nickname when adding a contact
This commit is contained in:
@ -148,11 +148,11 @@ public class UserSearchResults extends JPanel {
|
||||
|
||||
TableColumn column = null;
|
||||
try {
|
||||
column = resultsTable.getColumn("Username");
|
||||
column = resultsTable.getColumn("Name");
|
||||
}
|
||||
catch (Exception ex) {
|
||||
try {
|
||||
column = resultsTable.getColumn("nick");
|
||||
column = resultsTable.getColumn("Username");
|
||||
}
|
||||
catch (Exception e1) {
|
||||
// Nothing to do
|
||||
|
||||
Reference in New Issue
Block a user