preview after all fixups
Ted Unangst tedu@tedunangst.com
Wed, 18 Sep 2019 15:30:39 -0400
1 files changed,
4 insertions(+),
7 deletions(-)
jump to
M
web.go
→
web.go
@@ -1030,6 +1030,10 @@ honk.Whofore = 2
} else { honk.Whofore = 3 } + + // back to markdown + honk.Noise = noise + if r.FormValue("preview") == "preview" { honks := []*Honk{honk} reverbolate(userinfo.UserID, honks)@@ -1046,13 +1050,6 @@ log.Print(err)
} return } - honk.UserID = userinfo.UserID - honk.RID = rid - honk.Date = dt - honk.Convoy = convoy - - // back to markdown - honk.Noise = noise if updatexid != "" { updatehonk(honk)