- go version bump
- go fix
This commit is contained in:
@@ -98,10 +98,8 @@ func (m *Message) getRecipients() ([]string, error) {
|
||||
}
|
||||
|
||||
func addAddress(list []string, addr string) []string {
|
||||
for _, a := range list {
|
||||
if addr == a {
|
||||
return list
|
||||
}
|
||||
if slices.Contains(list, addr) {
|
||||
return list
|
||||
}
|
||||
|
||||
return append(list, addr)
|
||||
|
||||
Reference in New Issue
Block a user