mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 04:06:14 +00:00
Show username in all display name locations if only option.
This commit is contained in:
committed by
Alex Hart
parent
c10c64a6a6
commit
5b2c458bcf
@@ -105,7 +105,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.getDisplayNameOrUsername(any())).thenReturn(name);
|
||||
when(recipient.getDisplayName(any())).thenReturn(name);
|
||||
return recipient;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user