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

@@ -98,7 +98,7 @@ public final class GroupsV2UpdateMessageProducerTest {
private static Recipient recipientWithName(RecipientId id, String name) {
Recipient recipient = mock(Recipient.class);
when(recipient.getId()).thenReturn(id);
when(recipient.getDisplayName(any())).thenReturn(name);
when(recipient.getDisplayNameOrUsername(any())).thenReturn(name);
return recipient;
}