Skip to content

Fix "You have a lot of notifications" reminder with read notifications#633

Merged
rubenwardy merged 1 commit into
luanti-org:masterfrom
rollerozxa:patch-6
Feb 20, 2026
Merged

Fix "You have a lot of notifications" reminder with read notifications#633
rubenwardy merged 1 commit into
luanti-org:masterfrom
rollerozxa:patch-6

Conversation

@rollerozxa

Copy link
Copy Markdown
Member

Fixes the "You have a lot of notifications" reminder to not count read notifications.

Not tested, but looks like how it should be from this other code for getting unread notifs:

{% set notification_count = current_user.notifications.filter_by(read_at=None).count() %}

@rubenwardy
rubenwardy merged commit b115354 into luanti-org:master Feb 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants