summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannik <jannik@outlook.com>2021-12-13 19:33:55 +0100
committerGitHub <noreply@github.com>2021-12-13 10:33:55 -0800
commit6622a3b8bb524052f00f7e8752457e327a21054a (patch)
tree5178b2c1b334b3d8bc3d1a0a99b517c5fa983d25
parente6ed6a684959fe4cfe65580666f1d8a16c936116 (diff)
feat: add matrix user agents to bot list (#1581) (#1588)
-rw-r--r--utils/utils.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/utils.go b/utils/utils.go
index 26924caf3..b2a3bdbe5 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -75,6 +75,9 @@ func IsUserAgentABot(userAgent string) bool {
"pleroma",
"applebot",
"whatsapp",
+ "matrix",
+ "synapse",
+ "element",
}
for _, botString := range botStrings {