fixing caching for jonkers
This commit is contained in:
parent
af96a9e668
commit
c19340849b
|
@ -1537,7 +1537,7 @@ func updateMe(username string) {
|
||||||
j["published"] = dt
|
j["published"] = dt
|
||||||
j["to"] = []string{thewholeworld, user.URL + "/followers"}
|
j["to"] = []string{thewholeworld, user.URL + "/followers"}
|
||||||
j["type"] = "Update"
|
j["type"] = "Update"
|
||||||
jo := junkuser(user)
|
jo, _ := asjonker(username)
|
||||||
j["object"] = jo
|
j["object"] = jo
|
||||||
|
|
||||||
msg := j.ToBytes()
|
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)
|
somenamedusers.Clear(u.Username)
|
||||||
somenumberedusers.Clear(u.UserID)
|
somenumberedusers.Clear(u.UserID)
|
||||||
|
oldjonkers.Clear(u.Username)
|
||||||
|
|
||||||
updateMe(u.Username)
|
updateMe(u.Username)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue