(value *string)
| 1020 | } |
| 1021 | |
| 1022 | func normalizeOptionalIdentifier(value *string) *string { |
| 1023 | if value == nil { |
| 1024 | return nil |
| 1025 | } |
| 1026 | |
| 1027 | trimmed := strings.TrimSpace(*value) |
| 1028 | if trimmed == "" { |
| 1029 | return nil |
| 1030 | } |
| 1031 | return &trimmed |
| 1032 | } |
| 1033 | |
| 1034 | func normalizeEnvelopeMentions(values []string) []string { |
| 1035 | normalized, err := store.NormalizeNetworkPeerIDs(values, "mentions") |
no outgoing calls
no test coverage detected