for completeness, more stealthing
This commit is contained in:
parent
3228970d7b
commit
c318eaed60
8
web.go
8
web.go
|
@ -470,6 +470,10 @@ func emptiness(w http.ResponseWriter, r *http.Request) {
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if stealthmode(user.ID, r) {
|
||||||
|
http.NotFound(w, r)
|
||||||
|
return
|
||||||
|
}
|
||||||
colname := "/followers"
|
colname := "/followers"
|
||||||
if strings.HasSuffix(r.URL.Path, "/following") {
|
if strings.HasSuffix(r.URL.Path, "/following") {
|
||||||
colname = "/following"
|
colname = "/following"
|
||||||
|
@ -1309,6 +1313,10 @@ func fingerlicker(w http.ResponseWriter, r *http.Request) {
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if stealthmode(user.ID, r) {
|
||||||
|
http.NotFound(w, r)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
j := junk.New()
|
j := junk.New()
|
||||||
j["subject"] = fmt.Sprintf("acct:%s@%s", user.Name, serverName)
|
j["subject"] = fmt.Sprintf("acct:%s@%s", user.Name, serverName)
|
||||||
|
|
Loading…
Reference in New Issue