Include 'you' in dynamic group name.
This commit is contained in:
parent
a9741cadbf
commit
be297120a1
2 changed files with 7 additions and 0 deletions
|
@ -454,6 +454,10 @@ public class Recipient {
|
||||||
|
|
||||||
List<String> names = new LinkedList<>();
|
List<String> names = new LinkedList<>();
|
||||||
|
|
||||||
|
if (participants.stream().anyMatch(Recipient::isSelf)) {
|
||||||
|
names.add(context.getString(R.string.Recipient_you));
|
||||||
|
}
|
||||||
|
|
||||||
for (Recipient participant : others) {
|
for (Recipient participant : others) {
|
||||||
String shortName = participant.getShortDisplayName(context);
|
String shortName = participant.getShortDisplayName(context);
|
||||||
int count = Objects.requireNonNull(shortNameCounts.getOrDefault(shortName, 0));
|
int count = Objects.requireNonNull(shortNameCounts.getOrDefault(shortName, 0));
|
||||||
|
|
|
@ -1370,6 +1370,9 @@
|
||||||
<string name="RecaptchaRequiredBottomSheetFragment_to_help_prevent_spam_on_signal">To help prevent spam on Signal, please complete verification.</string>
|
<string name="RecaptchaRequiredBottomSheetFragment_to_help_prevent_spam_on_signal">To help prevent spam on Signal, please complete verification.</string>
|
||||||
<string name="RecaptchaRequiredBottomSheetFragment_after_verifying_you_can_continue_messaging">After verifying, you can continue messaging. Any paused messages will automatically be sent.</string>
|
<string name="RecaptchaRequiredBottomSheetFragment_after_verifying_you_can_continue_messaging">After verifying, you can continue messaging. Any paused messages will automatically be sent.</string>
|
||||||
|
|
||||||
|
<!-- Recipient -->
|
||||||
|
<string name="Recipient_you">You</string>
|
||||||
|
|
||||||
<!-- RecipientPreferencesActivity -->
|
<!-- RecipientPreferencesActivity -->
|
||||||
<string name="RecipientPreferenceActivity_block">Block</string>
|
<string name="RecipientPreferenceActivity_block">Block</string>
|
||||||
<string name="RecipientPreferenceActivity_unblock">Unblock</string>
|
<string name="RecipientPreferenceActivity_unblock">Unblock</string>
|
||||||
|
|
Loading…
Add table
Reference in a new issue