add additional url point for twtxt

This commit is contained in:
Jon Lundy 2020-12-01 12:28:56 -07:00
parent 90bba0e527
commit b294d4fdc8
Signed by untrusted user who does not match committer: xuu
GPG Key ID: C63E6D61F3035024

View File

@ -206,7 +206,7 @@ func NewProof(ctx context.Context, uri, fingerprint string) ProofResolver {
return &httpResolve{p, url, nil} return &httpResolve{p, url, nil}
} }
case strings.Contains(p.URI.Path, "/conv/"): case strings.Contains(p.URI.Path, "/conv/"), strings.Contains(p.URI.Path, "/twt/"):
if sp := strings.SplitN(p.URI.Path, "/", 3); len(sp) == 3 { if sp := strings.SplitN(p.URI.Path, "/", 3); len(sp) == 3 {
p.Icon = "fas fa-comment-alt" p.Icon = "fas fa-comment-alt"
p.Service = "Twtxt" p.Service = "Twtxt"