mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Show username in group invite flow.
This commit is contained in:
committed by
Greyson Parrelli
parent
c04f761f5a
commit
763e891dfd
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user