Skip to content

Commit

Permalink
recipient: allow negative value
Browse files Browse the repository at this point in the history
  • Loading branch information
codenoid committed Sep 8, 2021
1 parent e548fba commit 6449c69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions telelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ func (i *Logger) setRecipient(recipient []string) {
i.osLogger.Warn(err.Error())
continue
}
if chatID > 0 {
i.recipient = append(i.recipient, chatID)
}
i.recipient = append(i.recipient, chatID)
}
}

Expand Down

0 comments on commit 6449c69

Please sign in to comment.