Browse Source

script, gui: Exclude bots from the in-GUI authors list

Jakob Borg 3 years ago
parent
commit
520ca4bcb0
2 changed files with 5 additions and 0 deletions
  1. 0 0
      gui/default/syncthing/core/aboutModalView.html
  2. 5 0
      script/authors.go

File diff suppressed because it is too large
+ 0 - 0
gui/default/syncthing/core/aboutModalView.html


+ 5 - 0
script/authors.go

@@ -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, ", ")

Some files were not shown because too many files changed in this diff