diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2023-04-02 22:25:44 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2023-04-02 22:25:44 +0200 |
commit | 0747be386279456668ba8be161a3db8c189abecc (patch) | |
tree | 05e3f1cfff91c9d79b04d7fc728ac2111c1d5ed6 /internal/qna | |
parent | 8335ffb747348d2f5bbf7986fa9f0fb48c3690b6 (diff) |
Use OnionLocation() method
Diffstat (limited to 'internal/qna')
-rw-r--r-- | internal/qna/qna.go | 2 |
1 files changed, 1 insertions, 1 deletions
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++ } } |