Show username in group invite flow.

This commit is contained in:
Cody Henthorne
2024-02-22 14:23:36 -05:00
committed by Greyson Parrelli
parent c04f761f5a
commit 763e891dfd
5 changed files with 6 additions and 6 deletions

View File

@@ -1541,7 +1541,7 @@ final class GroupsV2UpdateMessageProducer {
String beforeChunk = template.substring(startIndex, nearestPosition);
builder.append(beforeChunk);
builder.append(SpanUtil.clickable(Recipient.resolved(recipientId).getDisplayName(context), ContextCompat.getColor(context, R.color.conversation_item_update_text_color), v -> {
builder.append(SpanUtil.clickable(Recipient.resolved(recipientId).getDisplayNameOrUsername(context), ContextCompat.getColor(context, R.color.conversation_item_update_text_color), v -> {
if (!recipientId.isUnknown() && clickHandler != null) {
clickHandler.accept(recipientId);
}