mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
feat: mark media as read when playback reaches 90%
This commit is contained in:
parent
37309adbc0
commit
4f55361f5f
37 changed files with 278 additions and 76 deletions
|
@ -66,7 +66,7 @@ func (h *handler) showUnreadEntryPage(w http.ResponseWriter, r *http.Request) {
|
|||
prevEntryRoute = route.Path(h.router, "unreadEntry", "entryID", prevEntry.ID)
|
||||
}
|
||||
|
||||
if user.MarkReadOnView {
|
||||
if entry.ShouldMarkAsReadOnView(user) {
|
||||
entry.Status = model.EntryStatusRead
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue