From b294d4fdc86510da8615833968f4da8769010799 Mon Sep 17 00:00:00 2001 From: Jon Lundy Date: Tue, 1 Dec 2020 12:28:56 -0700 Subject: [PATCH] add additional url point for twtxt --- pkg/keyproofs/proofs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/keyproofs/proofs.go b/pkg/keyproofs/proofs.go index 44ebcf5..138a77c 100644 --- a/pkg/keyproofs/proofs.go +++ b/pkg/keyproofs/proofs.go @@ -206,7 +206,7 @@ func NewProof(ctx context.Context, uri, fingerprint string) ProofResolver { 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 { p.Icon = "fas fa-comment-alt" p.Service = "Twtxt"