Also process entry[0]
This commit is contained in:
parent
c8d4779e94
commit
3cc34dbfe8
|
@ -313,6 +313,8 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
h.Backend.MarkRead(channel, uids)
|
||||
} else if uids, e := values["entry[]"]; e {
|
||||
h.Backend.MarkRead(channel, uids)
|
||||
} else if uids, e := values["entry[0]"]; e {
|
||||
h.Backend.MarkRead(channel, uids)
|
||||
}
|
||||
}
|
||||
w.Header().Add("Content-Type", "application/json")
|
||||
|
|
Loading…
Reference in New Issue
Block a user