fixing caching for jonkers
This commit is contained in:
parent
af96a9e668
commit
c19340849b
2 changed files with 2 additions and 1 deletions
|
@ -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
1
web.go
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue