From 0747be386279456668ba8be161a3db8c189abecc Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sun, 2 Apr 2023 22:25:44 +0200 Subject: Use OnionLocation() method --- internal/qna/qna.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/qna') diff --git a/internal/qna/qna.go b/internal/qna/qna.go index eab4b71..c20c78f 100644 --- a/internal/qna/qna.go +++ b/internal/qna/qna.go @@ -136,7 +136,7 @@ func (p *Progress) AddAnswer(a Answer) { return } p.NumOK++ - if a.HTTP != "" || a.HTML != "" { + if a.OnionLocation() { p.NumOnion++ } } -- cgit v1.2.3