mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Small window fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7767 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -245,13 +245,16 @@ public class ContactInfoWindow extends JPanel {
|
||||
}
|
||||
|
||||
// Get VCard from memory (if available)
|
||||
String title = "";
|
||||
VCard vcard = SparkManager.getVCardManager().getVCardFromMemory(StringUtils.parseBareAddress(contactItem.getJID()));
|
||||
if (vcard != null) {
|
||||
String title = vcard.getField("TITLE");
|
||||
if (ModelUtil.hasLength(title)) {
|
||||
titleLabel.setText(title);
|
||||
title = vcard.getField("TITLE");
|
||||
if (!ModelUtil.hasLength(title)) {
|
||||
title = "";
|
||||
}
|
||||
}
|
||||
|
||||
titleLabel.setText(title);
|
||||
}
|
||||
|
||||
public ContactItem getContactItem() {
|
||||
|
||||
Reference in New Issue
Block a user