fixing caching for jonkers

This commit is contained in:
Ted Unangst 2020-04-01 00:10:35 -04:00
parent af96a9e668
commit c19340849b
2 changed files with 2 additions and 1 deletions

View File

@ -1537,7 +1537,7 @@ func updateMe(username string) {
j["published"] = dt
j["to"] = []string{thewholeworld, user.URL + "/followers"}
j["type"] = "Update"
jo := junkuser(user)
jo, _ := asjonker(username)
j["object"] = jo
msg := j.ToBytes()

1
web.go
View File

@ -1155,6 +1155,7 @@ func saveuser(w http.ResponseWriter, r *http.Request) {
}
somenamedusers.Clear(u.Username)
somenumberedusers.Clear(u.UserID)
oldjonkers.Clear(u.Username)
updateMe(u.Username)