commenter_update.go: allow editing link, photo

This commit is contained in:
Adhityaa Chandrasekar 2019-12-04 22:48:44 -08:00
parent 2a11149034
commit 2f9368a275

View File

@ -51,7 +51,7 @@ func commenterUpdateHandler(w http.ResponseWriter, r *http.Request) {
return return
} }
if c.Provider == "commento" { if c.Provider != "commento" {
*x.Link = c.Link *x.Link = c.Link
*x.Photo = c.Photo *x.Photo = c.Photo
} }