diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-24 16:53:19 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-24 16:53:19 +0100 |
commit | bbede8bbeb8728aac35856cc41eabea899056d74 (patch) | |
tree | 88726ade33d53b8a862ebde61202f47031dd192c /src/main/java/eu/siacs/conversations/ui/adapter | |
parent | d1a456f3e3e3f82e8e7b7f36d12b62ebb2a0fac2 (diff) |
optionally lock conference domains as well and hide known domains in ui
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui/adapter')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/adapter/ListItemAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ListItemAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ListItemAdapter.java index 47414f900..da8e39101 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/ListItemAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/ListItemAdapter.java @@ -76,10 +76,10 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> { tagLayout.addView(tv); } } - final Jid jid = item.getJid(); + final String jid = item.getDisplayJid(); if (jid != null) { tvJid.setVisibility(View.VISIBLE); - tvJid.setText(jid.toString()); + tvJid.setText(jid); } else { tvJid.setVisibility(View.GONE); } |