feat(core): Add config option for the url preview user agent

This commit is contained in:
Trash Panda 2026-02-13 18:33:39 -07:00 committed by Jade Ellis
parent 9cae531f90
commit 40996a6602
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
3 changed files with 19 additions and 0 deletions

View file

@ -1474,6 +1474,12 @@
#
#url_preview_check_root_domain = false
# User agent that is used specifically when downloading url previews.
#
# example: "continuwuity (bot; +https://forgejo.ellis.link/continuwuation/continuwuity)"
#
#url_preview_user_agent = "continuwuity/$VERSION ($VERSION_TAG)"
# List of forbidden room aliases and room IDs as strings of regex
# patterns.
#