xonks without https are simply invalid

master
Ted Unangst 5 years ago
parent b76f377ca9
commit f994120a87

@ -242,6 +242,9 @@ func needxonk(user *WhatAbout, x *Honk) bool {
return needxonkid(user, x.XID)
}
func needxonkid(user *WhatAbout, xid string) bool {
if !strings.HasPrefix(xid, "https://") {
return false
}
if strings.HasPrefix(xid, user.URL+"/") {
return false
}

Loading…
Cancel
Save