enhance(notifications): mark current notification page as read (#39294)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Mitrahsoft
2026-09-16 00:31:16 +00:00
committed by GitHub
co-authored by wxiaoguang
parent f9d3268dbe
commit a583a30d4a
5 changed files with 42 additions and 16 deletions
+1
View File
@@ -1776,6 +1776,7 @@ func registerWebRoutes(m *web.Router, webAuth *AuthMiddleware) {
m.Get("/watching", user.NotificationWatching)
m.Post("/status", user.NotificationStatusPost)
m.Post("/purge", user.NotificationPurgePost)
m.Post("/purge-page", user.NotificationPurgePagePost)
m.Get("/new", user.NewAvailable)
}, reqSignIn)