From a162f7f13ed45b5d39ad77ca45207708eb1b03fe Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Fri, 18 Sep 2020 15:01:20 +1000 Subject: [PATCH] Fix display name bug --- src/org/thoughtcrime/securesms/loki/views/UserView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/loki/views/UserView.kt b/src/org/thoughtcrime/securesms/loki/views/UserView.kt index 21af19baa1..f5ec3fedcc 100644 --- a/src/org/thoughtcrime/securesms/loki/views/UserView.kt +++ b/src/org/thoughtcrime/securesms/loki/views/UserView.kt @@ -90,7 +90,7 @@ class UserView : LinearLayout { actionIndicatorImageView.setImageResource(R.drawable.ic_baseline_edit_24) profilePictureView.glide = glide profilePictureView.update() - nameTextView.text = getUserDisplayName(address) + nameTextView.text = if (user.isGroupRecipient) user.name else getUserDisplayName(address) when (actionIndicator) { ActionIndicator.None -> { actionIndicatorImageView.visibility = View.GONE