mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
script, gui: Exclude bots from the in-GUI authors list
This commit is contained in:
@@ -100,6 +100,11 @@ func main() {
|
||||
|
||||
var lines []string
|
||||
for _, author := range authors {
|
||||
if strings.Contains(author.name, "[bot]") {
|
||||
// Only humans are eligible, pending future legislation to the
|
||||
// contrary.
|
||||
continue
|
||||
}
|
||||
lines = append(lines, author.name)
|
||||
}
|
||||
replacement := strings.Join(lines, ", ")
|
||||
|
||||
Reference in New Issue
Block a user