aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-07 23:28:35 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-07 23:28:42 +0200
commit903a3d17f2055bdc5ba4f316419b158ce453bfda (patch)
treef7048f145227143c22122574579eb0d3ff3e118e /src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
parentb1daabbb86e41d0a07737e0951530322f1cdedfe (diff)
return contact and account.getServer() as String
Diffstat (limited to 'src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java')
-rw-r--r--src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
index 53a7b6625..e05c719dc 100644
--- a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
+++ b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java
@@ -46,7 +46,7 @@ public class ContactChooserTargetService extends ChooserTargetService implements
final int pixel = (int) (48 * getResources().getDisplayMetrics().density);
for (int i = 0; i < Math.min(conversations.size(), MAX_TARGETS); ++i) {
final Conversation conversation = conversations.get(i);
- final String name = conversation.getName();
+ final String name = conversation.getName().toString();
final Icon icon = Icon.createWithBitmap(mXmppConnectionService.getAvatarService().get(conversation, pixel));
final float score = 1 - (1.0f / MAX_TARGETS) * i;
final Bundle extras = new Bundle();