Add max length truncation to displayed profile attributes to mitigate spam
Changelog-Fixed: Add max length truncation to displayed profile attributes to mitigate spam Fixes: #1237
This commit is contained in:
@@ -65,7 +65,7 @@ struct ProfileName: View {
|
||||
}
|
||||
|
||||
var name_choice: String {
|
||||
return prefix == "@" ? current_display_name.username : current_display_name.display_name
|
||||
return prefix == "@" ? current_display_name.username.truncate(maxLength: 50) : current_display_name.display_name.truncate(maxLength: 50)
|
||||
}
|
||||
|
||||
var onlyzapper: Bool {
|
||||
|
||||
Reference in New Issue
Block a user