diff --git a/config/services/matrix-media-repo.nix b/config/services/matrix-media-repo.nix index f19bbf16..037dd668 100644 --- a/config/services/matrix-media-repo.nix +++ b/config/services/matrix-media-repo.nix @@ -65,7 +65,8 @@ "fe80::/64" "fc00::/7" ]; - userAgent = "TelegramBot (like TwitterBot)"; # to make it work with fxtwitter/vxtwitter + # user agent header was a mistake + userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0, matrix-media-repo (like twitterbot; like telegrambot; like discordbot; like facebook; like whatsapp; like firefox/92; like vkshare) +https://github.com/DarkKirb/nixos-config/pull/264"; }; downloads = { expireAfterDays = 7;