remove spicy peppers sensitivity
Ted Unangst tedu@tedunangst.com
Thu, 01 Aug 2019 20:36:22 -0400
3 files changed,
2 insertions(+),
9 deletions(-)
M
activity.go
→
activity.go
@@ -25,7 +25,6 @@ "log"
"net/http" "net/url" "os" - "regexp" "strings" "sync" "time"@@ -732,8 +731,6 @@
deliverate(0, user.Name, xid, msg) } -var re_spicy = regexp.MustCompile("^(\U0001f336\ufe0f?){3,}") - func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) { dt := h.Date.Format(time.RFC3339) var jo junk.Junk@@ -779,9 +776,6 @@ }
jo["summary"] = h.Precis jo["content"] = mentionize(h.Noise) if strings.HasPrefix(h.Precis, "DZ:") { - jo["sensitive"] = true - } else if peppers := re_spicy.FindString(h.Noise); peppers != "" { - jo["summary"] = peppers jo["sensitive"] = true }
M
docs/changelog.txt
→
docs/changelog.txt
@@ -2,6 +2,8 @@ changelog
-- next +- Remove sensitivity to spicy peppers. + + Keep reply to setting during preview. + Increase max thread retrieval depth to 10.
M
docs/manual.txt
→
docs/manual.txt
@@ -21,9 +21,6 @@
A honk that begins with the danger zone indication, DZ:, will be marked sensitive, using the first line as a summary (spoiler text). -Alternatively, a spicy honk that begins with three or more peppers (U+1F336) -will be marked sensitive as well, with a subject line consisting of peppers. - -- following In order to follow somebody, you need to enter one of two identifiers.