caps: add server element

This commit is contained in:
kaso17 2017-08-17 09:22:04 +02:00
parent 1d75164aaf
commit f963f8d173
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ namespace Jackett.Models
var xdoc = new XDocument(
new XDeclaration("1.0", "UTF-8", null),
new XElement("caps",
new XElement("server",
new XAttribute("title", "Jackett")
),
new XElement("searching",
new XElement("search",
new XAttribute("available", SearchAvailable ? "yes" : "no"),