Browse Source

feat: add matrix user agents to bot list (#1581) (#1588)

pull/1596/head
Jannik 4 years ago committed by GitHub
parent
commit
6622a3b8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      utils/utils.go

3
utils/utils.go

@ -75,6 +75,9 @@ func IsUserAgentABot(userAgent string) bool {
"pleroma", "pleroma",
"applebot", "applebot",
"whatsapp", "whatsapp",
"matrix",
"synapse",
"element",
} }
for _, botString := range botStrings { for _, botString := range botStrings {

Loading…
Cancel
Save