mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Include 'you' in dynamic group name.
This commit is contained in:
@@ -454,6 +454,10 @@ public class Recipient {
|
||||
|
||||
List<String> names = new LinkedList<>();
|
||||
|
||||
if (participants.stream().anyMatch(Recipient::isSelf)) {
|
||||
names.add(context.getString(R.string.Recipient_you));
|
||||
}
|
||||
|
||||
for (Recipient participant : others) {
|
||||
String shortName = participant.getShortDisplayName(context);
|
||||
int count = Objects.requireNonNull(shortNameCounts.getOrDefault(shortName, 0));
|
||||
|
||||
Reference in New Issue
Block a user