Deduplicate users in group notifications

Changelog-Fixed: Deduplicate users in notifications
Closes: #1326
This commit is contained in:
2023-06-25 23:35:01 -04:00
committed by William Casarin
parent 2046fe5502
commit cfe14fac23
8 changed files with 84 additions and 36 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ enum DisplayName {
func parse_display_name(profile: Profile?, pubkey: String) -> DisplayName {
if pubkey == "anon" {
if pubkey == ANON_PUBKEY {
return .one(NSLocalizedString("Anonymous", comment: "Placeholder display name of anonymous user."))
}